forked from LaconicNetwork/kompose
In buildconfig, remove trailing newline from project's remote git repu URL.
This commit is contained in:
parent
6d8a6a3fc8
commit
f46274be38
@ -83,7 +83,7 @@ func getGitRemote(remote string) string {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
return string(out)
|
return strings.TrimRight(string(out), "\n")
|
||||||
}
|
}
|
||||||
|
|
||||||
// getAbsBuildContext returns build context relative to project root dir
|
// getAbsBuildContext returns build context relative to project root dir
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user