Skip to content

Commit 9530ebc

Browse files
committed
fix: make reviewable
1 parent 8a6e8b7 commit 9530ebc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

internal/controller/serviceinstance/controller.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ func (c *external) Observe(ctx context.Context, mg resource.Managed) (managed.Ex
175175
case v1alpha1.LastOperationSucceeded:
176176
// If the last operation succeeded, set the CR to available
177177
cr.SetConditions(xpv1.Available())
178-
credentialsUpToDate := true
178+
var credentialsUpToDate bool
179179
desiredCredentials, err := extractCredentialSpec(ctx, c.kube, cr.Spec.ForProvider)
180180
if err != nil {
181181
return managed.ExternalObservation{}, errors.Wrap(err, errSecret)
@@ -407,7 +407,7 @@ func (s servicePlanInitializer) Initialize(ctx context.Context, mg resource.Mana
407407
return s.kube.Update(ctx, cr)
408408
}
409409

410-
// Small wrapper arround sha256.Sum256()
410+
// Small wrapper around sha256.Sum256()
411411
// info: if creds == nil, it will result in a hash value anyway (e3b0c44298...).
412412
// This should not be a security problem.
413413
func iSha256(data []byte) []byte {

0 commit comments

Comments
 (0)