auth: pass namespace options in auth service requests (#1800)
* auth: pass namespace options in auth service requests * auth/service/proto: update field index Co-authored-by: Asim Aslam <asim@aslam.me>
This commit is contained in:
@@ -10,7 +10,7 @@ import (
|
||||
|
||||
// Generate generates a service account for and continually
|
||||
// refreshes the access token.
|
||||
func Generate(id string, name string, a auth.Auth) error {
|
||||
func Generate(id, name string, a auth.Auth) error {
|
||||
// extract the account creds from options, these can be set by flags
|
||||
accID := a.Options().ID
|
||||
accSecret := a.Options().Secret
|
||||
|
Reference in New Issue
Block a user