Browse Source

FIX-1235 update service worker name

Change-Id: Ifcf4cc7b82694473dc888c33f9772866a6f2fa67
Kanagaraj Manickam 3 years ago
parent
commit
e4a0ceb25d
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      namos/conductor/manager.py

+ 4
- 1
namos/conductor/manager.py View File

@@ -184,7 +184,10 @@ class ServiceProcessor(object):
184 184
                     context,
185 185
                     service_workers[0].id,
186 186
                     dict(
187
-                        pid=self.registration_info['pid']))
187
+                        pid=self.registration_info['pid'],
188
+                        name='%s@%s' % (self.registration_info['pid'],
189
+                                        service_component.name)
190
+                    ))
188 191
             LOG.info('Service Worker %s is existing and is updated'
189 192
                      % service_worker)
190 193
 

Loading…
Cancel
Save