From 655444f24e989ad4da99d072a115165e36570544 Mon Sep 17 00:00:00 2001 From: brandboat Date: Wed, 27 Sep 2023 00:26:32 +0800 Subject: [PATCH] Fix wrong interface in comment --- pkg/appmgmt/general/general.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/appmgmt/general/general.go b/pkg/appmgmt/general/general.go index 0e611e956..181c29276 100644 --- a/pkg/appmgmt/general/general.go +++ b/pkg/appmgmt/general/general.go @@ -56,12 +56,12 @@ func NewManager(apiProvider client.APIProvider, podEventHandler *PodEventHandler } } -// this implements AppManagementService interface +// this implements AppManager interface func (os *Manager) Name() string { return "general" } -// this implements AppManagementService interface +// this implements AppManager interface func (os *Manager) ServiceInit() error { os.apiProvider.AddEventHandler( &client.ResourceEventHandlers{ @@ -74,14 +74,14 @@ func (os *Manager) ServiceInit() error { return nil } -// this implements AppManagementService interface +// this implements AppManager interface func (os *Manager) Start() error { // generic app manager leverages the shared context, // no other service, go routine is required to be started return nil } -// this implements AppManagementService interface +// this implements AppManager interface func (os *Manager) Stop() { // noop }