In buildconfig, remove trailing newline from project's remote git repu URL.

This commit is contained in:
Ratnadeep Debnath
2016-12-28 17:00:33 +05:30
parent 6d8a6a3fc8
commit f46274be38
+1 -1
View File
@@ -83,7 +83,7 @@ func getGitRemote(remote string) string {
if err != nil {
return ""
}
return string(out)
return strings.TrimRight(string(out), "\n")
}
// getAbsBuildContext returns build context relative to project root dir