Skip to content

Commit

Permalink
fix template
Browse files Browse the repository at this point in the history
  • Loading branch information
damien-jacinto committed Nov 13, 2023
1 parent 5c218c8 commit da638fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/configsqitch/connect.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@ func Connect(configSqitch *ConfigSqitch) (string, error) {
return "", fmt.Errorf("configuration error: %s", err.Error())
}

fullUri := fmt.Sprintf("%s:%s", configSqitch.PostgresURI, configSqitch.PostgresPort)
authenticationToken, err := auth.BuildAuthToken(
context.TODO(), configSqitch.PostgresURI+":"+configSqitch.PostgresPort, configSqitch.Region, configSqitch.PostgresUser, cfg.Credentials)
context.TODO(), fullUri, configSqitch.Region, configSqitch.PostgresUser, cfg.Credentials)
if err != nil {
return "", fmt.Errorf("failed to create authentication token: %s", err.Error())
}
Expand Down

0 comments on commit da638fa

Please sign in to comment.