Skip to content

Commit

Permalink
Added an event for the final successful provisioning
Browse files Browse the repository at this point in the history
  • Loading branch information
jananivMS authored and frodopwns committed Oct 10, 2019
1 parent 1789261 commit 130a360
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions controllers/keyvault_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ func (r *KeyVaultReconciler) Reconcile(req ctrl.Request) (ctrl.Result, error) {
}
return ctrl.Result{}, fmt.Errorf("error reconciling keyvault in azure: %v", err)
}

r.Recorder.Event(&instance, "Normal", "Provisioned", "Keyvault "+instance.ObjectMeta.Name+" provisioned ")
return ctrl.Result{}, nil
}
Expand Down

0 comments on commit 130a360

Please sign in to comment.