Skip to content

Commit

Permalink
Merge branch 'master' into feature/lint-disclosures
Browse files Browse the repository at this point in the history
  • Loading branch information
matthchr authored Jul 14, 2021
2 parents 4e8fc26 + 77f01f2 commit 4dca5a9
Show file tree
Hide file tree
Showing 5 changed files with 669 additions and 497 deletions.
5 changes: 2 additions & 3 deletions hack/generated/controllers/crd_servicebus_basic_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import (
. "github.com/onsi/gomega"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"

servicebusqueuetopic "github.com/Azure/azure-service-operator/hack/generated/_apis/microsoft.servicebus/v1alpha1api20180101preview"
servicebus "github.com/Azure/azure-service-operator/hack/generated/_apis/microsoft.servicebus/v1alpha1api20210101preview"
"github.com/Azure/azure-service-operator/hack/generated/pkg/testcommon"
)
Expand Down Expand Up @@ -60,9 +59,9 @@ func Test_ServiceBus_Basic_CRUD(t *testing.T) {
}

func ServiceBus_Queue_CRUD(tc testcommon.KubePerTestContext, sbNamespace metav1.ObjectMeta) {
queue := &servicebusqueuetopic.NamespacesQueue{
queue := &servicebus.NamespacesQueue{
ObjectMeta: tc.MakeObjectMeta("queue"),
Spec: servicebusqueuetopic.NamespacesQueues_Spec{
Spec: servicebus.NamespacesQueues_Spec{
Location: &tc.AzureRegion,
Owner: testcommon.AsOwner(sbNamespace),
},
Expand Down
5 changes: 2 additions & 3 deletions hack/generated/controllers/crd_servicebus_standard_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import (
. "github.com/onsi/gomega"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"

servicebusqueuetopic "github.com/Azure/azure-service-operator/hack/generated/_apis/microsoft.servicebus/v1alpha1api20180101preview"
servicebus "github.com/Azure/azure-service-operator/hack/generated/_apis/microsoft.servicebus/v1alpha1api20210101preview"
"github.com/Azure/azure-service-operator/hack/generated/pkg/testcommon"
)
Expand Down Expand Up @@ -63,9 +62,9 @@ func Test_ServiceBus_Standard_CRUD(t *testing.T) {

// Topics can only be created in Standard or Premium SKUs
func ServiceBus_Topic_CRUD(tc testcommon.KubePerTestContext, sbNamespace metav1.ObjectMeta) {
topic := &servicebusqueuetopic.NamespacesTopic{
topic := &servicebus.NamespacesTopic{
ObjectMeta: tc.MakeObjectMeta("topic"),
Spec: servicebusqueuetopic.NamespacesTopics_Spec{
Spec: servicebus.NamespacesTopics_Spec{
Location: &tc.AzureRegion,
Owner: testcommon.AsOwner(sbNamespace),
},
Expand Down
Loading

0 comments on commit 4dca5a9

Please sign in to comment.