Skip to content

Commit

Permalink
erin feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
William Mortl authored and jananivMS committed May 16, 2020
1 parent 4000be8 commit f0d9ada
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/resourcemanager/eventhubs/hub.go
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,8 @@ func (e *azureEventHubManager) Ensure(ctx context.Context, obj runtime.Object, o
instance.Status.State = string(hub.Status)
instance.Status.Message = "The configured secret name was already owned by another eventhub"
instance.Status.Provisioning = false
instance.Status.Provisioned = true
instance.Status.Provisioned = false
instance.Status.FailedProvisioning = true
instance.Status.ResourceId = *hub.ID
return true, nil
}
Expand All @@ -310,6 +311,7 @@ func (e *azureEventHubManager) Ensure(ctx context.Context, obj runtime.Object, o
instance.Status.Message = resourcemanager.SuccessMsg
instance.Status.Provisioning = false
instance.Status.Provisioned = true
instance.Status.FailedProvisioning = false
instance.Status.ResourceId = *hub.ID
return true, nil
}
Expand Down

0 comments on commit f0d9ada

Please sign in to comment.