Skip to content

Commit

Permalink
fix info message around used EC2 key pair (eksctl-io#7405)
Browse files Browse the repository at this point in the history
  • Loading branch information
TiberiuGC authored Dec 12, 2023
1 parent 8735c19 commit 789d4ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/ssh/loader.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func LoadKey(ctx context.Context, sshConfig *api.NodeGroupSSH, clusterName, node
if err != nil {
return "", err
}
logger.Info("using EC2 key pair %q", sshConfig.PublicKeyName)
logger.Info("using EC2 key pair %q", *sshConfig.PublicKeyPath)
return *sshConfig.PublicKeyPath, nil
}

Expand Down

0 comments on commit 789d4ab

Please sign in to comment.