From 587410ba229ae82a0bac202c1e0343f57ca796f9 Mon Sep 17 00:00:00 2001 From: MUzairS15 Date: Thu, 28 Sep 2023 21:54:45 +0530 Subject: [PATCH] fix lint issue Signed-off-by: MUzairS15 --- utils/kubernetes/kompose/convert.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/utils/kubernetes/kompose/convert.go b/utils/kubernetes/kompose/convert.go index 52ed5f2f..aa943a0f 100644 --- a/utils/kubernetes/kompose/convert.go +++ b/utils/kubernetes/kompose/convert.go @@ -192,10 +192,7 @@ func convert(opt kobject.ConvertOptions) error { return err } - komposeObject := kobject.KomposeObject{ - ServiceConfigs: make(map[string]kobject.ServiceConfig), - } - komposeObject, err = l.LoadFile(opt.InputFiles) + komposeObject, err := l.LoadFile(opt.InputFiles) if err != nil { return err }