1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-09-18 06:50:35 +02:00

fix bug : CI build failed

This commit is contained in:
stlpmo-jn 2019-04-11 09:53:31 +08:00
parent c1a0403da2
commit f2031884f0

View file

@ -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