fix compilation error

This commit is contained in:
Chris Lu 2012-10-06 10:56:43 -07:00
parent ba55296b18
commit c8eb9a7542
2 changed files with 2 additions and 2 deletions

View file

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

View file

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