Skip to content

Commit

Permalink
turns out this is necessary tos top reconciles on failure
Browse files Browse the repository at this point in the history
  • Loading branch information
frodopwns committed Apr 3, 2020
1 parent 11a0881 commit 5e219fa
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@ func (s *AzureSqlServerManager) Ensure(ctx context.Context, obj runtime.Object,
return true, nil
}

if instance.Status.SpecHash == "" {
instance.Status.SpecHash = hash
}

if instance.Status.Provisioning {

serv, err := s.GetServer(ctx, instance.Spec.ResourceGroup, instance.Name)
Expand Down

0 comments on commit 5e219fa

Please # to comment.