diff options
| author | Chris Lu <chris.lu@gmail.com> | 2018-09-17 02:23:21 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2018-09-17 02:23:21 -0700 |
| commit | 25fb6f9a465d7371913c2898c6e3f701ed890b07 (patch) | |
| tree | 5e54f2a27fe1b95bf6049b8cb7bc523eb77fd08f /weed/replication/source | |
| parent | 779641e9d4d9f843267d0c44f9fc5f2c201462d3 (diff) | |
| download | seaweedfs-25fb6f9a465d7371913c2898c6e3f701ed890b07.tar.xz seaweedfs-25fb6f9a465d7371913c2898c6e3f701ed890b07.zip | |
fix compilation
Diffstat (limited to 'weed/replication/source')
| -rw-r--r-- | weed/replication/source/filer_source.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/weed/replication/source/filer_source.go b/weed/replication/source/filer_source.go index c3b575b6d..f6a4cc55f 100644 --- a/weed/replication/source/filer_source.go +++ b/weed/replication/source/filer_source.go @@ -54,15 +54,15 @@ func (fs *FilerSource) ReadPart(part string) (readCloser io.ReadCloser, err erro }) if err != nil { - glog.V(1).Infof("replication lookup volume id: %v", vid, err) - return nil, fmt.Errorf("replicationlookup volume id %v: %v", vid, err) + glog.V(1).Infof("replication lookup volume id %s: %v", vid, err) + return nil, fmt.Errorf("replication lookup volume id %s: %v", vid, err) } locations := vid2Locations[vid] if locations == nil || len(locations.Locations) == 0 { - glog.V(1).Infof("replication locate volume id: %v", vid, err) - return nil, fmt.Errorf("replication locate volume id %v: %v", vid, err) + glog.V(1).Infof("replication locate volume id %s: %v", vid, err) + return nil, fmt.Errorf("replication locate volume id %s: %v", vid, err) } fileUrl := fmt.Sprintf("http://%s/%s", locations.Locations[0].Url, part) |
