aboutsummaryrefslogtreecommitdiff
path: root/weed/wdclient/masterclient.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/wdclient/masterclient.go')
-rw-r--r--weed/wdclient/masterclient.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/wdclient/masterclient.go b/weed/wdclient/masterclient.go
index 13383c9f1..d2d5954e4 100644
--- a/weed/wdclient/masterclient.go
+++ b/weed/wdclient/masterclient.go
@@ -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)
}
}
}