This commit is contained in:
Jakub Kabza 2019-08-30 13:53:14 +02:00
parent 38c57d67c2
commit 6825f7b8f1

View File

@ -120,7 +120,7 @@ func (r *OAuth2ClientReconciler) registerOAuth2Client(ctx context.Context, clien
err = r.Create(ctx, &clientSecret) err = r.Create(ctx, &clientSecret)
if err != nil { if err != nil {
r.Log.Error(err, fmt.Sprintf("registering client %s/%s failed", client.Name, client.Namespace), "oauth2client", "register") r.Log.Error(err, fmt.Sprintf("error creating secret for client %s/%s ", client.Name, client.Namespace), "oauth2client", "register")
} else { } else {
client.Status.Secret = &clientSecret.Name client.Status.Secret = &clientSecret.Name
} }