Skip to content

Commit 43fb4d0

Browse files
Changing type for pod uid
1 parent 7ddb56b commit 43fb4d0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

crd/multitenancy/api/v1alpha1/multitenantpodnetworkconfig.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ package v1alpha1
55

66
import (
77
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
8+
"k8s.io/apimachinery/pkg/types"
89
)
910

1011
// Important: Run "make" to regenerate code after modifying this file
@@ -50,7 +51,7 @@ type MultitenantPodNetworkConfigSpec struct {
5051
// +kubebuilder:validation:Optional
5152
IBMACAddresses []string `json:"IBMACAddresses,omitempty"`
5253
// PodUID is the UID of the pod
53-
PodUID string `json:"podUID,omitempty"`
54+
PodUID types.UID `json:"podUID,omitempty"`
5455
}
5556

5657
// +kubebuilder:validation:Enum=Unprogrammed;Programming;Programmed;Unprogramming;Failed

0 commit comments

Comments
 (0)