From c56004d8c2034b9e484d21b032b499d3dd0aa47d Mon Sep 17 00:00:00 2001 From: kylecarbs Date: Fri, 6 May 2022 18:36:51 +0000 Subject: [PATCH] fix: Remove "CODER_URL" and "CODER_TOKEN" These aren't being used, so it's best to remove for now. It caused issues with dogfooding from v1 too! --- cli/root.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/root.go b/cli/root.go index 3e6bfdb694881..4a38d5895b079 100644 --- a/cli/root.go +++ b/cli/root.go @@ -90,8 +90,8 @@ func Root() *cobra.Command { workspaceAgent(), ) - cliflag.String(cmd.PersistentFlags(), varURL, "", "CODER_URL", "", "Specify the URL to your deployment.") - cliflag.String(cmd.PersistentFlags(), varToken, "", "CODER_TOKEN", "", "Specify an authentication token.") + cmd.PersistentFlags().String(varURL, "", "Specify the URL to your deployment.") + cmd.PersistentFlags().String(varToken, "", "Specify an authentication token.") cliflag.String(cmd.PersistentFlags(), varAgentToken, "", "CODER_AGENT_TOKEN", "", "Specify an agent authentication token.") cliflag.String(cmd.PersistentFlags(), varAgentURL, "", "CODER_AGENT_URL", "", "Specify the URL for an agent to access your deployment.") cliflag.String(cmd.PersistentFlags(), varGlobalConfig, "", "CODER_CONFIG_DIR", configdir.LocalConfig("coderv2"), "Specify the path to the global `coder` config directory.") pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy