update mock rg client to have new required Parents() method
@@ -24,6 +24,7 @@ import (
azurev1alpha1 "github.com/Azure/azure-service-operator/api/v1alpha1"
+ apphelpers "github.com/Azure/azure-service-operator/pkg/helpers"
"github.com/Azure/azure-service-operator/pkg/resourcemanager/mock/helpers"
"k8s.io/apimachinery/pkg/runtime"
@@ -132,6 +133,10 @@ func (g *MockResourceGroupManager) Delete(ctx context.Context, obj runtime.Objec
return false, nil
}
+func (g *MockResourceGroupManager) Parents(obj runtime.Object) ([]apphelpers.KubeParent, error) {
+ return nil, nil
+}
+
func (g *MockResourceGroupManager) convert(obj runtime.Object) (*azurev1alpha1.ResourceGroup, error) {
local, ok := obj.(*azurev1alpha1.ResourceGroup)
if !ok {
