Skip to content

Commit 9c49913

Browse files
authored
register image_service and docker_service. (#208)
1 parent d88d8d0 commit 9c49913

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/sonic-host-server

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import dbus.service
1212
import dbus.mainloop.glib
1313

1414
from gi.repository import GObject
15-
from host_modules import config_engine, gcu, host_service, showtech, systemd_service, file_service
15+
from host_modules import config_engine, gcu, host_service, showtech, systemd_service, file_service, image_service, docker_service
1616

1717

1818
def register_dbus():
@@ -23,6 +23,8 @@ def register_dbus():
2323
'host_service': host_service.HostService('host_service'),
2424
'showtech': showtech.Showtech('showtech'),
2525
'systemd': systemd_service.SystemdService('systemd'),
26+
'image_service': image_service.ImageService('image_service'),
27+
'docker_service': docker_service.DockerService('docker_service'),
2628
'file_stat': file_service.FileService('file')
2729
}
2830
for mod_name, handler_class in mod_dict.items():

0 commit comments

Comments
 (0)