Browse Source

fix compilation error

pull/2/head
Chris Lu 12 years ago
parent
commit
c8eb9a7542
  1. 2
      weed-fs/src/cmd/weed/master.go
  2. 2
      weed-fs/src/cmd/weed/version.go

2
weed-fs/src/cmd/weed/master.go

@ -36,7 +36,7 @@ var (
confFile = cmdMaster.Flag.String("conf", "/etc/weedfs/weedfs.conf", "xml configuration file")
defaultRepType = cmdMaster.Flag.String("defaultReplicationType", "000", "Default replication type if not specified.")
mReadTimeout = cmdMaster.Flag.Int("readTimeout", 5, "connection read timeout in seconds")
mMaxCpu = cmdVolume.Flag.Int("maxCpu", 0, "maximum number of CPUs. 0 means all available CPUs")
mMaxCpu = cmdMaster.Flag.Int("maxCpu", 0, "maximum number of CPUs. 0 means all available CPUs")
)
var topo *topology.Topology

2
weed-fs/src/cmd/weed/version.go

@ -6,7 +6,7 @@ import (
)
const (
VERSION = "0.22"
VERSION = "0.23"
)
var cmdVersion = &Command{

Loading…
Cancel
Save