From d90cafaa818186b250c0277e7385e2c4e44b49e9 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sun, 15 Jan 2023 17:28:26 +0100 Subject: [PATCH] breakglass: leave a TODO for removing -tls and -gokrazy_url both are obsolete thanks to breakglass reading the instance config --- cmd/breakglass/breakglass.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmd/breakglass/breakglass.go b/cmd/breakglass/breakglass.go index c9a9509..e8821a0 100644 --- a/cmd/breakglass/breakglass.go +++ b/cmd/breakglass/breakglass.go @@ -209,6 +209,10 @@ func breakglass() error { "an alternative per-user configuration file for ssh and scp") ) + // TODO: remove the -tls and -gokrazy_url flags after 2023-June (half a year + // after the introduction of instance centric config), so that we can then + // merge these flags into tools/internal/oldpacker and remove their global + // state. tlsflag.RegisterFlags(flag.CommandLine) updateflag.RegisterFlags(flag.CommandLine, "gokrazy_url")