diff options
| author | Chris Lu <chris.lu@gmail.com> | 2018-07-28 18:40:31 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2018-07-28 18:40:31 -0700 |
| commit | 7214a8e265544c1e507351789409f75abe485acc (patch) | |
| tree | 1305644fadef6bedd519e2466bbdb1d56a1a86e0 /weed/wdclient/masterclient.go | |
| parent | cfbfc7cb67db224bdf6b0b533162d16039245f52 (diff) | |
| download | seaweedfs-7214a8e265544c1e507351789409f75abe485acc.tar.xz seaweedfs-7214a8e265544c1e507351789409f75abe485acc.zip | |
fix init error
Diffstat (limited to 'weed/wdclient/masterclient.go')
| -rw-r--r-- | weed/wdclient/masterclient.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/weed/wdclient/masterclient.go b/weed/wdclient/masterclient.go index d2d5954e4..e3ffd4834 100644 --- a/weed/wdclient/masterclient.go +++ b/weed/wdclient/masterclient.go @@ -16,7 +16,7 @@ type MasterClient struct { currentMaster string masters []string - VidMap + vidMap } func NewMasterClient(ctx context.Context, clientName string, masters []string) *MasterClient { @@ -24,6 +24,7 @@ func NewMasterClient(ctx context.Context, clientName string, masters []string) * ctx: ctx, name: clientName, masters: masters, + vidMap: newVidMap(), } } |
