mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-11 22:35:48 +08:00
fixing duplicate code
This commit is contained in:
parent
9595d3da79
commit
46de0ea269
1 changed files with 0 additions and 5 deletions
|
@ -31,11 +31,6 @@ func main() {
|
||||||
hostname = ""
|
hostname = ""
|
||||||
}
|
}
|
||||||
|
|
||||||
hostname, err := os.Hostname()
|
|
||||||
if err != nil {
|
|
||||||
hostname = ""
|
|
||||||
}
|
|
||||||
|
|
||||||
cliFlags := []cli.Flag{
|
cliFlags := []cli.Flag{
|
||||||
&cli.StringFlag{
|
&cli.StringFlag{
|
||||||
Name: "network",
|
Name: "network",
|
||||||
|
|
Loading…
Add table
Reference in a new issue