Skip to content

Commit

Permalink
fix lint issue
Browse files Browse the repository at this point in the history
Signed-off-by: MUzairS15 <[email protected]>
  • Loading branch information
MUzairS15 committed Sep 28, 2023
1 parent 132b511 commit 587410b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions utils/kubernetes/kompose/convert.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 587410b

Please sign in to comment.