Skip to content

Commit

Permalink
Update Binding instance.Status.KeyInstanceID when changing to Online …
Browse files Browse the repository at this point in the history
…state (#237)

Signed-off-by: qibobo <[email protected]>
  • Loading branch information
qibobo authored Jan 26, 2021
1 parent d76cb0c commit e42b324
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions controllers/binding_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -519,6 +519,7 @@ func (r *BindingReconciler) updateStatusOnline(session *session.Session, instanc
currentBindingInstance.Status.State = bindingStateOnline
currentBindingInstance.Status.Message = bindingStateOnline
currentBindingInstance.Status.SecretName = getSecretName(currentBindingInstance)
currentBindingInstance.Status.KeyInstanceID = instance.Status.KeyInstanceID
return r.Status().Update(context.Background(), currentBindingInstance)
})
if err != nil {
Expand Down

0 comments on commit e42b324

Please sign in to comment.