refactor: simplify imports and clean up code formatting in main.go
This commit is contained in:
parent
bf80b65873
commit
8bdccdc8c7
@ -2,8 +2,6 @@ package main
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"encoding/base64"
|
|
||||||
"encoding/json"
|
|
||||||
"fmt"
|
"fmt"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
@ -53,10 +51,10 @@ and obtains the necessary credentials to participate in the cluster.`,
|
|||||||
nodeName string
|
nodeName string
|
||||||
|
|
||||||
// Join command flags
|
// Join command flags
|
||||||
leaderAPI string
|
leaderAPI string
|
||||||
advertiseAddr string
|
advertiseAddr string
|
||||||
leaderCACert string
|
leaderCACert string
|
||||||
etcdPeer bool
|
etcdPeer bool
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user