diff options
Diffstat (limited to 'weed/command/master.go')
| -rw-r--r-- | weed/command/master.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/weed/command/master.go b/weed/command/master.go index 6a32b8abe..f80d8faeb 100644 --- a/weed/command/master.go +++ b/weed/command/master.go @@ -1,6 +1,7 @@ package command import ( + "context" "fmt" "net/http" "os" @@ -218,7 +219,7 @@ func startMaster(masterOption MasterOptions, masterWhiteList []string) { }() } - go ms.MasterClient.KeepConnectedToMaster() + go ms.MasterClient.KeepConnectedToMaster(context.Background()) // start http server var ( |
