Skip to content

Commit 18987df

Browse files
authored
fix: update nilnil lint finding (#465)
1 parent 047b9c7 commit 18987df

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,8 @@ test/e2e/data/infrastructure-oci/v1beta*/cluster-template*.yaml
3838

3939

4040
# tilt
41-
tilt-settings.json
41+
tilt-settings.json
42+
43+
44+
# git worktrees
45+
worktrees/

cloud/config/config_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ func (m *mockInstancePrincipalConfigurationProvider) Key() (string, error) {
5050
return "mock-key", nil
5151
}
5252

53+
// nolint:nilnil
5354
func (m *mockInstancePrincipalConfigurationProvider) PrivateRSAKey() (*rsa.PrivateKey, error) {
5455
return nil, nil // Mock implementation
5556
}

0 commit comments

Comments
 (0)