From b3dd15dd64ec56fff964d8235c874cdfdef1ce8d Mon Sep 17 00:00:00 2001 From: TangBin Date: Wed, 7 Aug 2019 11:12:24 +0800 Subject: [PATCH] code check error fix --- pkg/hostimage/host_image_service.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/hostimage/host_image_service.go b/pkg/hostimage/host_image_service.go index 17ee338787..bc4bf80c8e 100644 --- a/pkg/hostimage/host_image_service.go +++ b/pkg/hostimage/host_image_service.go @@ -53,9 +53,9 @@ func StartService() { app_common.InitAuth(&HostImageOptions.CommonOptions, func() { log.Infof("Auth complete!!") }) - app := app_common.InitApp(&HostImageOptions.CommonOptions, false) + app := app_common.InitApp(&HostImageOptions.BaseOptions, false) initHandlers(app, "") - app_common.ServeForever(app, &HostImageOptions.CommonOptions) + app_common.ServeForever(app, &HostImageOptions.BaseOptions) } func initHandlers(app *appsrv.Application, prefix string) {