mirror of
https://github.com/yannh/kubeconform.git
synced 2026-04-20 10:49:51 +00:00
minor nits
This commit is contained in:
parent
b4547ce367
commit
8fc1df8d8b
5 changed files with 24 additions and 24 deletions
|
|
@ -10,8 +10,8 @@ func TestSignatureFromBytes(t *testing.T) {
|
|||
name string
|
||||
have []byte
|
||||
want resource.Signature
|
||||
err error
|
||||
} {
|
||||
err error
|
||||
}{
|
||||
{
|
||||
name: "valid deployment",
|
||||
have: []byte(`
|
||||
|
|
@ -24,10 +24,10 @@ metadata:
|
|||
app: myService
|
||||
spec:
|
||||
`),
|
||||
want: resource.Signature {
|
||||
Kind: "Deployment",
|
||||
Version: "apps/v1",
|
||||
Namespace: "default",
|
||||
want: resource.Signature{
|
||||
Kind: "Deployment",
|
||||
Version: "apps/v1",
|
||||
Namespace: "default",
|
||||
},
|
||||
err: nil,
|
||||
},
|
||||
|
|
@ -45,4 +45,4 @@ spec:
|
|||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue