Skip to content

Commit

Permalink
Tiny logging bug-fix (bazelbuild#508)
Browse files Browse the repository at this point in the history
We're connecting to CASService in this case, which is explicitly different from Service. The logic is correct, but the logging isn't.
  • Loading branch information
ola-rozenfeld authored Sep 29, 2023
1 parent aa1c266 commit e660a37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/pkg/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ func NewClient(ctx context.Context, instanceName string, params DialParams, opts
conn, authUsed, err := Dial(ctx, params.Service, params)
casConn := conn
if params.CASService != "" && params.CASService != params.Service {
log.Infof("Connecting to CAS service %s", params.Service)
log.Infof("Connecting to CAS service %s", params.CASService)
casConn, authUsed, err = Dial(ctx, params.CASService, params)
}
if err != nil {
Expand Down

0 comments on commit e660a37

Please sign in to comment.