From e0f648e502ffb37157b95aba057698f48478a724 Mon Sep 17 00:00:00 2001 From: simohamed <46059092+smhmd@users.noreply.github.com> Date: Thu, 9 Apr 2020 10:25:16 +0100 Subject: [PATCH] Fix error massage typo (#40) --- pkg/host/host_file.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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