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 f3f2784 commit a8788bcCopy full SHA for a8788bc
pkg/operator/azurepathfixcontroller.go
@@ -168,7 +168,7 @@ func (c *AzurePathFixController) sync() error {
168
if err != nil {
169
return fmt.Errorf("unable to get infrastructure object: %s", err)
170
}
171
- if infra.Status.PlatformStatus.Type != configapiv1.AzurePlatformType {
+ if infra.Status.PlatformStatus != nil && infra.Status.PlatformStatus.Type != configapiv1.AzurePlatformType {
172
return nil
173
174
0 commit comments