Skip to content

Commit

Permalink
vm: fix ssh-config auto-generation (abiosoft#437)
Browse files Browse the repository at this point in the history
  • Loading branch information
abiosoft committed Oct 8, 2022
1 parent 37f1357 commit 10377f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion environment/vm/lima/limautil/limautil.go
Original file line number Diff line number Diff line change
Expand Up @@ -341,5 +341,5 @@ const colimaStateFileName = "colima.yaml"

// ColimaStateFile returns path to the colima state yaml file.
func ColimaStateFile(profileID string) string {
return filepath.Join(LimaHome(), profileID, colimaStateFileName)
return filepath.Join(LimaHome(), config.Profile(profileID).ID, colimaStateFileName)
}

0 comments on commit 10377f3

Please sign in to comment.