From 7325e4504bef6aee3a9f2750fce8bf8bd3612eef Mon Sep 17 00:00:00 2001 From: Tom Wilkie Date: Wed, 12 Aug 2015 11:56:55 +0000 Subject: [PATCH] Update import --- socks/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/socks/main.go b/socks/main.go index c86ded74b..45e69c6d1 100644 --- a/socks/main.go +++ b/socks/main.go @@ -9,7 +9,7 @@ import ( "text/template" socks5 "github.com/armon/go-socks5" - "github.com/weaveworks/weave/common" + "github.com/weaveworks/weave/common/mflagext" "github.com/docker/docker/pkg/mflag" ) @@ -31,7 +31,7 @@ function FindProxyForURL(url, host) { func main() { var as []string - common.ListVar(&as, []string{"a", "-alias"}, []string{}, "Specify hostname aliases in the form alias:hostname. Can be repeated.") + mflagext.ListVar(&as, []string{"a", "-alias"}, []string{}, "Specify hostname aliases in the form alias:hostname. Can be repeated.") mflag.Parse() var aliases = map[string]string{}