Skip to content

Commit a65cc05

Browse files
committed
updates
1 parent daf287e commit a65cc05

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/root.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ func getHostname() string {
9898
hostname = parsedURL.Hostname()
9999
} else {
100100
// Use the predefined hostname based on the SCM type
101-
hostname = configs.GetScmTypeHostnames()
101+
hostname = configs.GetCloudScmTypeHostnames()
102102
}
103103

104104
return hostname

configs/configs.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ func VerifyTokenSet() error {
312312
return nil
313313
}
314314

315-
func GetScmTypeHostnames() string {
315+
func GetCloudScmTypeHostnames() string {
316316
switch os.Getenv("GHORG_SCM_TYPE") {
317317
case "github":
318318
return "github.com"

0 commit comments

Comments
 (0)