Update profile package to latest version
This commit is contained in:
1 parent
f56d001703
commit
15054393fb
4 files changed
+6
-9
No files matched your search
+3
-3
@@ -4,9 +4,6 @@
|
|||||||
[submodule "vendor/github.com/vishvananda/netlink"]
|
[submodule "vendor/github.com/vishvananda/netlink"]
|
||||||
path = vendor/github.com/vishvananda/netlink
|
path = vendor/github.com/vishvananda/netlink
|
||||||
url = https://github.com/vishvananda/netlink.git
|
url = https://github.com/vishvananda/netlink.git
|
||||||
[submodule "vendor/github.com/davecheney/profile"]
|
|
||||||
path = vendor/github.com/davecheney/profile
|
|
||||||
url = https://github.com/davecheney/profile.git
|
|
||||||
[submodule "vendor/github.com/gorilla/mux"]
|
[submodule "vendor/github.com/gorilla/mux"]
|
||||||
path = vendor/github.com/gorilla/mux
|
path = vendor/github.com/gorilla/mux
|
||||||
url = https://github.com/gorilla/mux.git
|
url = https://github.com/gorilla/mux.git
|
||||||
@@ -70,3 +67,6 @@
|
|||||||
[submodule "vendor/github.com/coreos/go-iptables"]
|
[submodule "vendor/github.com/coreos/go-iptables"]
|
||||||
path = vendor/github.com/coreos/go-iptables
|
path = vendor/github.com/coreos/go-iptables
|
||||||
url = https://github.com/coreos/go-iptables
|
url = https://github.com/coreos/go-iptables
|
||||||
|
[submodule "vendor/github.com/pkg/profile"]
|
||||||
|
path = vendor/github.com/pkg/profile
|
||||||
|
url = https://github.com/pkg/profile
|
||||||
+2
-5
@@ -12,9 +12,9 @@ import (
|
|||||||
"sync/atomic"
|
"sync/atomic"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/davecheney/profile"
|
|
||||||
"github.com/docker/docker/pkg/mflag"
|
"github.com/docker/docker/pkg/mflag"
|
||||||
"github.com/gorilla/mux"
|
"github.com/gorilla/mux"
|
||||||
|
"github.com/pkg/profile"
|
||||||
"github.com/weaveworks/mesh"
|
"github.com/weaveworks/mesh"
|
||||||
|
|
||||||
"github.com/weaveworks/go-checkpoint"
|
"github.com/weaveworks/go-checkpoint"
|
||||||
@@ -231,10 +231,7 @@ func main() {
|
|||||||
checkForUpdates()
|
checkForUpdates()
|
||||||
|
|
||||||
if prof != "" {
|
if prof != "" {
|
||||||
p := *profile.CPUProfile
|
defer profile.Start(profile.CPUProfile, profile.ProfilePath(prof), profile.NoShutdownHook).Stop()
|
||||||
p.ProfilePath = prof
|
|
||||||
p.NoShutdownHook = true
|
|
||||||
defer profile.Start(&p).Stop()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if protocolMinVersion < mesh.ProtocolMinVersion || protocolMinVersion > mesh.ProtocolMaxVersion {
|
if protocolMinVersion < mesh.ProtocolMinVersion || protocolMinVersion > mesh.ProtocolMaxVersion {
|
||||||
|
|||||||
-1
Submodule vendor/github.com/davecheney/profile deleted from c29d1a1565.
+1
Submodule vendor/github.com/pkg/profile added at 19396ecfda.
Reference in new issue
Block a user