Add Context support to auth methods #1816
Annotations
8 errors and 1 warning
Presubmit:
pkg/v1/google/auth_test.go#L89
cannot use func(ctx context.Context) *exec.Cmd {…} (value of type func(ctx context.Context) *exec.Cmd) as type func() *exec.Cmd in return statement
|
Presubmit:
pkg/v1/google/auth_test.go#L116
cannot use newGcloudCmdMock(tc.env) (value of type func() *exec.Cmd) as type func(ctx context.Context) *exec.Cmd in assignment
|
Presubmit:
pkg/v1/google/auth_test.go#L133
cannot use newGcloudCmdMock("success") (value of type func() *exec.Cmd) as type func(ctx context.Context) *exec.Cmd in assignment
|
Presubmit:
pkg/v1/google/auth_test.go#L207
cannot use newGcloudCmdMock("success") (value of type func() *exec.Cmd) as type func(ctx context.Context) *exec.Cmd in assignment
|
Presubmit:
pkg/v1/google/auth_test.go#L218
cannot use newGcloudCmdMock("badoutput") (value of type func() *exec.Cmd) as type func(ctx context.Context) *exec.Cmd in assignment
|
Presubmit:
pkg/v1/google/auth_test.go#L236
cannot use newGcloudCmdMock("badoutput") (value of type func() *exec.Cmd) as type func(ctx context.Context) *exec.Cmd in assignment
|
Presubmit:
pkg/v1/google/auth_test.go#L269
undefined: ctx (compile)
|
Presubmit
Process completed with exit code 1.
|
Presubmit
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|