Skip to content

Commit 0fb3eec

Browse files
committed
[no-relnote] Fix ST1005: error strings should not be capitalized lint errors
Signed-off-by: Evan Lezar <[email protected]>
1 parent 3913a63 commit 0fb3eec

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/nvcdi/lib-csv.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ var _ Interface = (*csvlib)(nil)
3535

3636
// GetSpec should not be called for wsllib
3737
func (l *csvlib) GetSpec() (spec.Interface, error) {
38-
return nil, fmt.Errorf("Unexpected call to csvlib.GetSpec()")
38+
return nil, fmt.Errorf("unexpected call to csvlib.GetSpec()")
3939
}
4040

4141
// GetAllDeviceSpecs returns the device specs for all available devices.

pkg/nvcdi/lib-wsl.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ var _ Interface = (*wsllib)(nil)
3333

3434
// GetSpec should not be called for wsllib
3535
func (l *wsllib) GetSpec() (spec.Interface, error) {
36-
return nil, fmt.Errorf("Unexpected call to wsllib.GetSpec()")
36+
return nil, fmt.Errorf("unexpected call to wsllib.GetSpec()")
3737
}
3838

3939
// GetAllDeviceSpecs returns the device specs for all available devices.

0 commit comments

Comments
 (0)