From cf4f26ab902478da9dfa0672e9f9b49a36d64329 Mon Sep 17 00:00:00 2001 From: Rhythm Bhiwani Date: Tue, 5 Mar 2024 03:46:52 +0530 Subject: [PATCH] changed `INFISICAL_TOKEN_NAME` to `INFISICAL_DEFAULT_URL` in error messages --- cli/packages/util/init.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/packages/util/init.go b/cli/packages/util/init.go index 942820273..33350f3b7 100644 --- a/cli/packages/util/init.go +++ b/cli/packages/util/init.go @@ -11,7 +11,7 @@ func GetOrganizationsNameList(organizationResponse api.GetOrganizationsResponse) organizations := organizationResponse.Organizations if len(organizations) == 0 { - message := fmt.Sprintf("You don't have any organization created in Infisical. You must first create a organization at %s", INFISICAL_TOKEN_NAME) + message := fmt.Sprintf("You don't have any organization created in Infisical. You must first create a organization at %s", INFISICAL_DEFAULT_URL) PrintErrorMessageAndExit(message) } @@ -37,7 +37,7 @@ func GetWorkspacesInOrganization(workspaceResponse api.GetWorkSpacesResponse, or } if len(filteredWorkspaces) == 0 { - message := fmt.Sprintf("You don't have any projects created in Infisical organization. You must first create a project at %s", INFISICAL_TOKEN_NAME) + message := fmt.Sprintf("You don't have any projects created in Infisical organization. You must first create a project at %s", INFISICAL_DEFAULT_URL) PrintErrorMessageAndExit(message) }