MINOR: Fix test connection on updating bot jwt (#20093)

This commit is contained in:
Mayur Singal 2025-03-06 10:21:15 +05:30 committed by GitHub
parent 10cfd77a73
commit 0b8f882941
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -170,6 +170,9 @@ public class OpenMetadataConnectionBuilder {
}
public OpenMetadataConnection build() {
// Initialize the bot user while building to update any
// changes done on the bot like updating jwt token
initializeBotUser(Entity.INGESTION_BOT_NAME);
return new OpenMetadataConnection()
.withAuthProvider(authProvider)
.withHostPort(openMetadataURL)