Skip to content

Commit 841b7aa

Browse files
author
mehrad
committed
clear git endpoint
1 parent d3565d0 commit 841b7aa

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

cmd/build.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import (
1818

1919
const (
2020
ybRemoteName = "io.YOTTAb.git"
21+
gitYbPath = "https://git.yottab.io/%s/%s.git"
2122
pushLogIDFormat = "%s:%s" // imageName:imageTa
2223
)
2324

@@ -171,5 +172,5 @@ func addYbRemote(repo *git.Repository, appName, user string) error {
171172
}
172173

173174
func getRemoteURL(user, app string) string {
174-
return fmt.Sprintf("https://git.yottab.io/%s/%s.git", user, app)
175+
return fmt.Sprintf(gitYbPath, user, app)
175176
}

0 commit comments

Comments
 (0)