fix init error

This commit is contained in:
Chris Lu
2018-07-28 18:40:31 -07:00
parent cfbfc7cb67
commit 7214a8e265
2 changed files with 14 additions and 7 deletions

View File

@@ -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(),
}
}