mirror of
https://github.com/gravitl/netmaker.git
synced 2025-10-25 18:00:25 +08:00
single http client
This commit is contained in:
@@ -10,6 +10,7 @@ import (
|
||||
|
||||
"github.com/gravitl/netmaker/netclient/cli_options"
|
||||
"github.com/gravitl/netmaker/netclient/config"
|
||||
"github.com/gravitl/netmaker/netclient/functions"
|
||||
"github.com/gravitl/netmaker/netclient/ncutils"
|
||||
"github.com/gravitl/netmaker/netclient/ncwindows"
|
||||
"github.com/urfave/cli/v2"
|
||||
@@ -29,6 +30,7 @@ func main() {
|
||||
app.UsageText = "netclient [global options] command [command options] [arguments...]. Adjust verbosity of given command with -v, -vv or -vvv (max)."
|
||||
|
||||
setGarbageCollection()
|
||||
functions.SetHTTPClient()
|
||||
|
||||
if ncutils.IsWindows() {
|
||||
ncwindows.InitWindows()
|
||||
|
||||
Reference in New Issue
Block a user