func secretsEqual(a, b apiv1.Secret) bool { // Clear the SelfLink and ObjectMeta.Finalizers since they will be different // in resoure in federation control plane and resource in underlying cluster. a.SelfLink = "" b.SelfLink = "" a.ObjectMeta.Finalizers = []string{} b.ObjectMeta.Finalizers = []string{} return reflect.DeepEqual(a, b) }
func secretsEqual(a, b api_v1.Secret) bool { a.SelfLink = "" b.SelfLink = "" return reflect.DeepEqual(a, b) }