Skip to content

Commit b07b136

Browse files
committed
Fix lint
1 parent 27fd30c commit b07b136

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/drivers/linode/linode.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ func createRandomRootPassword() (string, error) {
111111
rawRootPass := make([]byte, 50)
112112
_, err := rand.Read(rawRootPass)
113113
if err != nil {
114-
return "", fmt.Errorf("Failed to generate random password")
114+
return "", errors.New("Failed to generate random password")
115115
}
116116
rootPass := base64.StdEncoding.EncodeToString(rawRootPass)
117117
return rootPass, nil

0 commit comments

Comments
 (0)