mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-03 10:11:03 +00:00
Fix bug when parsing peer names
This commit is contained in:
@@ -159,7 +159,7 @@ func ParseOverlayNodeID(id string) (overlayPrefix string, peerName string) {
|
||||
return DockerOverlayPeerPrefix, id[len(DockerOverlayPeerPrefix):]
|
||||
}
|
||||
|
||||
return WeaveOverlayPeerPrefix, peerName
|
||||
return WeaveOverlayPeerPrefix, id
|
||||
}
|
||||
|
||||
// ParseNodeID produces the host ID and remainder (typically an address) from
|
||||
|
||||
Reference in New Issue
Block a user