add support for golangci-lint (#1373)

This commit is contained in:
Rémy Léone authored and GitHub committed 2021-04-07 11:10:56 +08:00
1 parent d1e538e2d4
commit 395d99fb7d
24 files changed
+52 -134

No files matched your search

-1
View File
@@ -197,7 +197,6 @@ func (b *Bundle) LoadFile(files []string) (kobject.KomposeObject, error) {
}
for name, service := range bundle.Services {
serviceConfig := kobject.ServiceConfig{}
serviceConfig.Command = service.Command
serviceConfig.Args = service.Args
-1
View File
@@ -83,5 +83,4 @@ func TestUnsupportedKeys(t *testing.T) {
t.Errorf("ERROR: Expecting unsupported keys: ['%s']. Got: ['%s']", strings.Join(test.expectedUnsupportedKeys, "', '"), strings.Join(keys, "', '"))
}
}
}