We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 142af53 commit e4e61adCopy full SHA for e4e61ad
azure/converters/diagnostics_test.go
@@ -19,7 +19,6 @@ package converters
19
import (
20
"testing"
21
22
- "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v5"
23
"github.com/google/go-cmp/cmp"
24
"k8s.io/utils/ptr"
25
infrav1 "sigs.k8s.io/cluster-api-provider-azure/api/v1beta1"
@@ -81,6 +80,16 @@ func TestGetDiagnosticsProfile(t *testing.T) {
81
80
},
82
want: nil,
83
+ {
84
+ name: "nil diagnostics boot user managed",
85
+ diagnostics: &infrav1.Diagnostics{
86
+ Boot: &infrav1.BootDiagnostics{
87
+ StorageAccountType: infrav1.UserManagedDiagnosticsStorage,
88
+ UserManaged: nil,
89
+ },
90
91
+ want: nil,
92
93
}
94
for _, tt := range tests {
95
tt := tt
0 commit comments