1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-31 03:45:17 +00:00

rebase with master

This commit is contained in:
shivdudhani 2019-06-19 15:12:48 -07:00
parent e1df4a0dd9
commit 40e8498363

View file

@ -41,7 +41,7 @@ func (t *test) run() {
// assuming its namespaces creation
decode := kscheme.Codecs.UniversalDeserializer().Decode
obj, _, err := decode([]byte(t.tResource.rawResource), nil, nil)
_, err = client.CreateResource(getResourceFromKind(t.tResource.gvk.Kind), "", obj)
_, err = client.CreateResource(getResourceFromKind(t.tResource.gvk.Kind), "", obj, false)
if err != nil {
t.t.Errorf("error while creating namespace %s", err)
}