Skip to content

Commit

Permalink
Merge pull request #5848 from gyuho/cluster_version
Browse files Browse the repository at this point in the history
etcdserver/api: print only major.minor version API
  • Loading branch information
gyuho committed Jul 1, 2016
2 parents c8c5f41 + ba023e5 commit c6a3048
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion etcdserver/api/capability.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import (
"time"

"github.com/coreos/etcd/etcdserver"
"github.com/coreos/etcd/version"
"github.com/coreos/go-semver/semver"
"github.com/coreos/pkg/capnslog"
)
Expand Down Expand Up @@ -71,7 +72,7 @@ func runCapabilityLoop(s *etcdserver.EtcdServer) {
enableMapMu.Lock()
enabledMap = capabilityMaps[pv.String()]
enableMapMu.Unlock()
plog.Infof("enabled capabilities for version %s", pv)
plog.Infof("enabled capabilities for version %s", version.Cluster(pv.String()))
}
}

Expand Down

0 comments on commit c6a3048

Please sign in to comment.