Merge pull request #2218 from weaveworks/1.6-upgradeathon

Upgrade vendored libs
This commit is contained in:
Adam Harrison committed 2016-04-28 10:13:44 +01:00
commit e6f031a3c9
23 files changed
+25 -28

No files matched your search

+2 -5
View File
@@ -12,9 +12,9 @@ import (
"sync/atomic"
"time"
"github.com/davecheney/profile"
"github.com/docker/docker/pkg/mflag"
"github.com/gorilla/mux"
"github.com/pkg/profile"
"github.com/weaveworks/mesh"
"github.com/weaveworks/go-checkpoint"
@@ -231,10 +231,7 @@ func main() {
checkForUpdates()
if prof != "" {
p := *profile.CPUProfile
p.ProfilePath = prof
p.NoShutdownHook = true
defer profile.Start(&p).Stop()
defer profile.Start(profile.CPUProfile, profile.ProfilePath(prof), profile.NoShutdownHook).Stop()
}
if protocolMinVersion < mesh.ProtocolMinVersion || protocolMinVersion > mesh.ProtocolMaxVersion {