diff --git a/kardinal-cli/host_machine_directories/host_machine_directories.go b/kardinal-cli/host_machine_directories/host_machine_directories.go index d264a175..fafe3629 100644 --- a/kardinal-cli/host_machine_directories/host_machine_directories.go +++ b/kardinal-cli/host_machine_directories/host_machine_directories.go @@ -21,7 +21,7 @@ func GetKardinalFkTenantUuidFilepath() (string, error) { return fkTenantUuidFilepath, nil } -func GetKontrolLocation() (string, error) { +func GetKontrolLocationFilepath() (string, error) { xdgRelFilepath := getRelativeFilepathForXDG(kontrolLocation) kontrolLocationFilepath, err := xdg.DataFile(xdgRelFilepath) if err != nil { diff --git a/kardinal-cli/kontrol/location.go b/kardinal-cli/kontrol/location.go index 38383c26..ad3e9dfd 100644 --- a/kardinal-cli/kontrol/location.go +++ b/kardinal-cli/kontrol/location.go @@ -14,7 +14,7 @@ const ( ) func SaveKontrolLocation(kontrolLocation string) error { - kontrolLocationFilepath, err := host_machine_directories.GetKontrolLocation() + kontrolLocationFilepath, err := host_machine_directories.GetKontrolLocationFilepath() if err != nil { return stacktrace.Propagate(err, "An error occurred getting the Kontrol location filepath") } @@ -28,7 +28,7 @@ func SaveKontrolLocation(kontrolLocation string) error { func GetKontrolLocation() (string, error) { - kontrolLocationFilepath, err := host_machine_directories.GetKontrolLocation() + kontrolLocationFilepath, err := host_machine_directories.GetKontrolLocationFilepath() if err != nil { return "", stacktrace.Propagate(err, "An error occurred getting the Kontrol location filepath") }