Skip to content

Commit

Permalink
Update clientInitialize.go
Browse files Browse the repository at this point in the history
  • Loading branch information
ginilpg authored Nov 20, 2024
1 parent 31303db commit 092e07d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion helper/clientInitialize.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ func getAppknoxAccessToken() string {
func ResolveHostAndRegion(host, region string, hostMappings map[string]string) (string, error) {
// If both region and host are provided, prioritize host and ignore region
if host != "" {
fmt.Printf("Both region and host provided. Using host URL: %s, ignoring region\n", host)
// Validate the host is a proper URL
_, err := url.ParseRequestURI(host)
if err != nil {
Expand Down

0 comments on commit 092e07d

Please sign in to comment.