diff --git a/pkg/host/host_file.go b/pkg/host/host_file.go index 0364f54..3d3e803 100644 --- a/pkg/host/host_file.go +++ b/pkg/host/host_file.go @@ -203,7 +203,7 @@ func getHostData(dst, profile string) (*hostFile, error) { } _, ok := h.profiles[profile] if profile != "" && !ok { - return h, fmt.Errorf("profile '%s' doesn't exists in file", profile) + return h, fmt.Errorf("unknown profile '%s'", profile) } return h, nil