Skip to content
Snippets Groups Projects
Unverified Commit 102a22e4 authored by Ida Novindasari's avatar Ida Novindasari Committed by GitHub
Browse files

generate deepcopy to show new pvc data type (#2420)

parent 8fc4b9ba
No related branches found
No related tags found
No related merge requests found
......@@ -260,6 +260,13 @@ func (in *KubernetesMetaConfiguration) DeepCopyInto(out *KubernetesMetaConfigura
}
}
out.PodEnvironmentConfigMap = in.PodEnvironmentConfigMap
if in.PersistentVolumeClaimRetentionPolicy != nil {
in, out := &in.PersistentVolumeClaimRetentionPolicy, &out.PersistentVolumeClaimRetentionPolicy
*out = make(map[string]string, len(*in))
for key, val := range *in {
(*out)[key] = val
}
}
return
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment