Browse Source

Merge "Add searchlight notification driver condition"

changes/63/414963/1
Jenkins 2 years ago
parent
commit
df5299c2d3
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      service/files/glance-api.conf.j2

+ 4
- 0
service/files/glance-api.conf.j2 View File

@@ -63,4 +63,8 @@ disk_formats = raw
63 63
 {% endif %}
64 64
 
65 65
 [oslo_messaging_notifications]
66
+{% if searchlight is defined and searchlight.service.glance %}
67
+driver = {{ searchlight.notification_driver }}
68
+{% else %}
66 69
 driver = noop
70
+{% endif %}

Loading…
Cancel
Save