From e68dcc55ba114627d521d15c19a1fcce61bd8de2 Mon Sep 17 00:00:00 2001 From: Victor Vieux Date: Wed, 26 Feb 2014 20:15:21 +0000 Subject: move git clone from daemon to client Docker-DCO-1.1-Signed-off-by: Victor Vieux (github: vieux) --- utils/utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils') diff --git a/utils/utils.go b/utils/utils.go index f24e17c38e..43d4dc77fc 100644 --- a/utils/utils.go +++ b/utils/utils.go @@ -685,7 +685,7 @@ func IsURL(str string) bool { } func IsGIT(str string) bool { - return strings.HasPrefix(str, "git://") || strings.HasPrefix(str, "github.com/") + return strings.HasPrefix(str, "git://") || strings.HasPrefix(str, "github.com/") || strings.HasPrefix(str, "git@github.com:") } // GetResolvConf opens and read the content of /etc/resolv.conf. -- cgit v1.2.1