Skip to content

Commit

Permalink
Merge pull request #53 from appknox/fixing-fileid-validation-error-Re…
Browse files Browse the repository at this point in the history
…moved-unnecessry-logs

Update clientInitialize.go
  • Loading branch information
sureshdsk authored Nov 20, 2024
2 parents 31303db + 092e07d commit 3b69b96
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 3b69b96

Please sign in to comment.