refactor: simplify imports and clean up code formatting in main.go

This commit is contained in:
Tanishq Dubey 2025-05-17 13:19:13 -04:00 committed by Tanishq Dubey (aider)
parent bf80b65873
commit 8bdccdc8c7
No known key found for this signature in database
GPG Key ID: CFC1931B84DFC3F9

View File

@ -2,8 +2,6 @@ package main
import (
"context"
"encoding/base64"
"encoding/json"
"fmt"
"log"
"net/http"
@ -53,10 +51,10 @@ and obtains the necessary credentials to participate in the cluster.`,
nodeName string
// Join command flags
leaderAPI string
advertiseAddr string
leaderCACert string
etcdPeer bool
leaderAPI string
advertiseAddr string
leaderCACert string
etcdPeer bool
)
const (