Skip to content

Commit ad97cf9

Browse files
committed
remove irrelevant comment
1 parent bc312be commit ad97cf9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

auth/tokenprovider/exchange.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,6 @@ func (p *FederationProvider) tryTokenExchange(ctx context.Context, subjectToken
175175
}
176176

177177
// isSameHost compares two URLs to see if they have the same host
178-
// This matches Python's behavior: ignores port differences (e.g., :443 vs no port for HTTPS)
179178
func (p *FederationProvider) isSameHost(url1, url2 string) bool {
180179
// Add scheme to url2 if it doesn't have one (databricksHost may not have scheme)
181180
parsedURL2 := url2
@@ -202,4 +201,4 @@ func (p *FederationProvider) Name() string {
202201
return fmt.Sprintf("federation[%s,sp:%s]", baseName, p.clientID[:8]) // Truncate client ID for readability
203202
}
204203
return fmt.Sprintf("federation[%s]", baseName)
205-
}
204+
}

0 commit comments

Comments
 (0)