Browse code

remove url workaround (now at correct s2i level)

gabemontero authored on 2015/12/01 00:42:08
Showing 1 changed files
... ...
@@ -30,11 +30,6 @@ func ParseRepository(s string) (*url.URL, error) {
30 30
 	if err != nil {
31 31
 		return nil, err
32 32
 	}
33
-	//TODO temporary work around for s2i's MungeNoProtocolURL (which is not used in s2i at the moment)
34
-	// there is some overloaded usage between the uri Path and the Path needed for DownloaderForSource
35
-	// this temporary work around  can sit here even after the s2i change (including duplicating tests in this dir's git_test.go  to source-to-image/pkg/scm/git/git_test.go)
36
-	// gets Godeps into origin, and then we can remove this
37
-	uri.Path = strings.TrimPrefix(uri.Path, "file://")
38 33
 
39 34
 	return uri, nil
40 35
 }