Browse Source

fix format

pull/6185/head
chrislu 2 months ago
parent
commit
9105c6bdd1
  1. 4
      weed/shell/command_ec_encode.go

4
weed/shell/command_ec_encode.go

@ -318,13 +318,13 @@ func collectVolumeIdsForEcEncode(commandEnv *CommandEnv, selectedCollection stri
if good, found := vidMap[v.Id]; found { if good, found := vidMap[v.Id]; found {
if good { if good {
if diskInfo.FreeVolumeCount < 2 { if diskInfo.FreeVolumeCount < 2 {
glog.V(0).Infof("skip %d.%d on %s, no free disk", v.Id, v.Collection, dn.Id)
glog.V(0).Infof("skip %s %d on %s, no free disk", v.Collection, v.Id, dn.Id)
vidMap[v.Id] = false vidMap[v.Id] = false
} }
} }
} else { } else {
if diskInfo.FreeVolumeCount < 2 { if diskInfo.FreeVolumeCount < 2 {
glog.V(0).Infof("skip %d.%d on %s, no free disk", v.Id, v.Collection, dn.Id)
glog.V(0).Infof("skip %d %d on %s, no free disk", v.Collection, v.Id, dn.Id)
vidMap[v.Id] = false vidMap[v.Id] = false
} else { } else {
vidMap[v.Id] = true vidMap[v.Id] = true

Loading…
Cancel
Save