Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Schroeder <97968850+schroeder-paul@users.noreply.github.com>
  • Loading branch information
schroeder-paul committed Jan 28, 2022
1 parent fc731e1 commit 34e0b77
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/controller/system/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -313,8 +313,7 @@ func (e *external) GetConnectionDetails(ctx context.Context, cr *v1alpha1.System
resp, err := e.getAsset(ctx, cr, assetType)

if err != nil {
msg := fmt.Sprintf("cannot get %s", assetType)
return nil, errors.Wrap(err, msg)
return nil, errors.Wrapf(err, "cannot get %s", assetType)
}

key := strcase.ToLowerCamel(assetType)
Expand Down

0 comments on commit 34e0b77

Please sign in to comment.