fix compilation error

This commit is contained in:
Chris Lu
2018-07-28 18:34:15 -07:00
parent 4e0522a80c
commit cfbfc7cb67
3 changed files with 6 additions and 6 deletions

View File

@@ -68,10 +68,10 @@ func (mc *MasterClient) tryAllMasters() {
PublicUrl: volumeLocation.PublicUrl,
}
for _, newVid := range volumeLocation.NewVids {
mc.AddLocation(newVid, loc)
mc.addLocation(newVid, loc)
}
for _, deletedVid := range volumeLocation.DeletedVids {
mc.DeleteLocation(deletedVid, loc)
mc.deleteLocation(deletedVid, loc)
}
}
}