Skip to content
Permalink
Browse files

Adds missing Node APIVersion v1

  • Loading branch information...
h0tbird committed Jul 1, 2019
1 parent 06dc635 commit 9abffcd6b8775561d9f0d5a889eace314024e311
Showing with 4 additions and 3 deletions.
  1. +4 −3 pkg/discovery/discovery.go
@@ -123,9 +123,10 @@ func generateOwnerReference(node *v1.Node) (*metav1.OwnerReference, error) {
}

return &metav1.OwnerReference{
Kind: "Node",
Name: node.GetName(),
UID: node.UID,
APIVersion: "v1",
Kind: "Node",
Name: node.GetName(),
UID: node.UID,
}, nil
}

0 comments on commit 9abffcd

Please sign in to comment.
You can’t perform that action at this time.