Restore comment about a "showkey" subcommand
This commit is contained in:
parent
00c9d5ec76
commit
beae4f2044
|
@ -166,6 +166,7 @@ func computeClusterKey(state *ClusterState, clusterKey []byte) ([]byte, error) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
// TODO: refactor this into subcommand ("showkey"?)
|
||||||
if isatty.IsTerminal(os.Stdout.Fd()) {
|
if isatty.IsTerminal(os.Stdout.Fd()) {
|
||||||
fmt.Printf("new cluster key generated: %s\n", base64.StdEncoding.EncodeToString(clusterKey))
|
fmt.Printf("new cluster key generated: %s\n", base64.StdEncoding.EncodeToString(clusterKey))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue