Browse Source

fix bug : CI build failed

pull/925/head
stlpmo-jn 6 years ago
parent
commit
f2031884f0
  1. 2
      weed/server/volume_grpc_replicate.go

2
weed/server/volume_grpc_replicate.go

@ -121,7 +121,7 @@ func checkCopyFiles(originFileInf *volume_server_pb.ReadVolumeFileStatusResponse
}
func writeToFile(client volume_server_pb.VolumeServer_CopyFileClient, fileName string) error {
glog.V(4).Infof("writing to ", fileName)
glog.V(4).Infof("writing to %s", fileName)
dst, err := os.OpenFile(fileName, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, 0644)
if err != nil {
return nil

Loading…
Cancel
Save