forked from LaconicNetwork/kompose
add support for golangci-lint (#1373)
This commit is contained in:
1 parent
d1e538e2d4
commit
395d99fb7d
24 files changed
+52
-134
No files matched your search
@@ -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
|
||||
|
||||
@@ -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, "', '"))
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user