Skip to content

Commit

Permalink
Merge pull request #1234 from frodopwns/reset-redis-failedprov
Browse files Browse the repository at this point in the history
ensure failed provisioning is false when provisioning becomes true
  • Loading branch information
frodopwns authored Jul 20, 2020
2 parents a926a79 + 231bbc8 commit 6cdc0ba
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ func (rc *AzureRedisCacheManager) Ensure(ctx context.Context, obj runtime.Object

// actually provision the redis cache
instance.Status.Provisioning = true
instance.Status.FailedProvisioning = false
_, err = rc.CreateRedisCache(ctx, *instance)
if err != nil {
instance.Status.Message = errhelp.StripErrorIDs(err)
Expand Down

0 comments on commit 6cdc0ba

Please sign in to comment.