check for ptr nilness for deref
@@ -444,7 +444,9 @@ func (k *azureKeyVaultManager) Ensure(ctx context.Context, obj runtime.Object, o
}
instance.Status.State = keyvault.Status
+ if keyvault.ID != nil {
instance.Status.ResourceId = *keyvault.ID
+ }
instance.Status.ContainsUpdate = false
instance.Status.Provisioned = true
instance.Status.Provisioning = false
