Skip to content

Commit

Permalink
Merge pull request kubevirt#642 from cynepco3hahue/fix_owner_referenc…
Browse files Browse the repository at this point in the history
…e_api_version

Set correct API version for OwnerReference
  • Loading branch information
rmohr authored Jan 10, 2018
2 parents 9b0f509 + 461aa23 commit 29d14ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/virt-controller/watch/replicaset.go
Original file line number Diff line number Diff line change
Expand Up @@ -741,7 +741,7 @@ func OwnerRef(rs *virtv1.VirtualMachineReplicaSet) v1.OwnerReference {
t := true
gvk := virtv1.VMReplicaSetGroupVersionKind
return v1.OwnerReference{
APIVersion: gvk.Version,
APIVersion: gvk.GroupVersion().String(),
Kind: gvk.Kind,
Name: rs.ObjectMeta.Name,
UID: rs.ObjectMeta.UID,
Expand Down

0 comments on commit 29d14ee

Please sign in to comment.