Skip to content

Commit

Permalink
PMM-12896 Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
artemgavrilov committed Mar 15, 2024
1 parent be6e0bf commit fb3a35f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions agent/runner/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,7 @@ func (r *Runner) IsRunning(id string) bool {
return ok
}

// createTokenFromDSN returns unique instance ID calculated as a hash from host:port part of the DSN. createTokenFromDSN allows to
// identify target database instance and limit number of concurrent operations on it.
// createTokenFromDSN returns unique database instance id (token) calculated as a hash from host:port part of the DSN.
func createTokenFromDSN(dsn string) (string, error) {
if dsn == "" {
return "", nil
Expand Down

0 comments on commit fb3a35f

Please sign in to comment.