Skip to content

Commit 3b4e6f5

Browse files
committed
Fix error messages for static-analysis
Signed-off-by: Todd Short <[email protected]>
1 parent ca804d9 commit 3b4e6f5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/controller/operators/catalog/operator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ func NewOperator(ctx context.Context, kubeconfigPath string, clock utilclock.Clo
271271
}
272272
return csv, nil
273273
}
274-
return nil, fmt.Errorf("Unable to convert input to CSV")
274+
return nil, fmt.Errorf("unable to convert input to CSV")
275275
}
276276

277277
if err := prunedCSVInformer.SetTransform(prunedCSVTransformFunc); err != nil {

pkg/controller/operators/olm/operator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ func newOperatorWithConfig(ctx context.Context, config *operatorConfig) (*Operat
345345
csv.Annotations[copyCSVStatusHash] = statusHash
346346
return csv, nil
347347
}
348-
return nil, fmt.Errorf("Unable to convert input to CSV")
348+
return nil, fmt.Errorf("unable to convert input to CSV")
349349
}
350350

351351
if err := copiedCSVInformer.SetTransform(copiedCSVTransformFunc); err != nil {

0 commit comments

Comments
 (0)