Skip to content

Commit

Permalink
fixing rediscacheaction parent ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
jpflueger committed May 29, 2020
1 parent 1e410a4 commit c5cf5df
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/resourcemanager/rediscaches/rediscacheaction_reconcile.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,16 +86,16 @@ func (m *AzureRedisCacheActionManager) GetParents(obj runtime.Object) ([]resourc
{
Key: types.NamespacedName{
Namespace: instance.Namespace,
Name: instance.Spec.ResourceGroup,
Name: instance.Spec.CacheName,
},
Target: &v1alpha1.ResourceGroup{},
Target: &v1alpha1.RedisCache{},
},
{
Key: types.NamespacedName{
Namespace: instance.Namespace,
Name: instance.Spec.CacheName,
Name: instance.Spec.ResourceGroup,
},
Target: &v1alpha1.RedisCache{},
Target: &v1alpha1.ResourceGroup{},
},
}, nil
}
Expand Down

0 comments on commit c5cf5df

Please sign in to comment.