Skip to content

Commit

Permalink
feat(option): officially deprecate ImpersonateCredentials (#1683)
Browse files Browse the repository at this point in the history
This option has been soft deprecated for a long time now. Lets make
it official to help more users migrate.
  • Loading branch information
codyoss committed Aug 31, 2022
1 parent 219f166 commit 9a84077
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions option/option.go
Expand Up @@ -308,9 +308,9 @@ func (w withClientCertSource) Apply(o *internal.DialSettings) {
//
// This is an EXPERIMENTAL API and may be changed or removed in the future.
//
// This option has been replaced by `impersonate` package:
// Deprecated: This option has been replaced by `impersonate` package:
// `google.golang.org/api/impersonate`. Please use the `impersonate` package
// instead.
// instead with the WithTokenSource option.
func ImpersonateCredentials(target string, delegates ...string) ClientOption {
return impersonateServiceAccount{
target: target,
Expand Down

0 comments on commit 9a84077

Please sign in to comment.