From beae4f2044df96dc44b1b73abee9cce1b17daf74 Mon Sep 17 00:00:00 2001 From: kaiyou Date: Thu, 7 May 2020 09:52:53 +0200 Subject: [PATCH] Restore comment about a "showkey" subcommand --- cluster.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cluster.go b/cluster.go index b9d79ee..d343852 100644 --- a/cluster.go +++ b/cluster.go @@ -166,6 +166,7 @@ func computeClusterKey(state *ClusterState, clusterKey []byte) ([]byte, error) { if err != nil { return nil, err } + // TODO: refactor this into subcommand ("showkey"?) if isatty.IsTerminal(os.Stdout.Fd()) { fmt.Printf("new cluster key generated: %s\n", base64.StdEncoding.EncodeToString(clusterKey)) }