Skip to content

Commit 5c68a48

Browse files
fix(lint): File is not goimports-ed (goimports)
1 parent acd4db9 commit 5c68a48

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

internal/namespaces/account/v2alpha1/custom.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ func InitRun(ctx context.Context, argsI interface{}) (i interface{}, e error) {
4242
var shortenedFilename string
4343
var err error
4444
var localSSHKeyContent []byte
45-
for _, keyName := range [3]string{"id_ecdsa.pub", "id_ed25519.pub", "id_rsa.pub"} {
45+
for _, keyName := range [3]string{"id_ecdsa.pub", "id_ed25519.pub", "id_rsa.pub"} {
4646
// element is the element from someSlice for where we are
4747
relativePath := path.Join(".ssh", keyName)
4848
filename := path.Join(core.ExtractUserHomeDir(ctx), relativePath)

internal/namespaces/init/custom_init_ssh_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
)
1515

1616
func setUpSSHKeyLocally(key string) core.BeforeFunc {
17-
return setUpSSHKeyLocallyWithKeyName(key, "id_rsa.pub")
17+
return setUpSSHKeyLocallyWithKeyName(key, "id_rsa.pub")
1818
}
1919

2020
func setUpSSHKeyLocallyWithKeyName(key string, name string) core.BeforeFunc {

0 commit comments

Comments
 (0)