Simplify const declarations in flag_types.go.

Signed-off-by: Matt Moyer <moyerm@vmware.com>
This commit is contained in:
Matt Moyer 2021-03-04 15:17:42 -06:00
parent 274e6281a8
commit 34e15f03c3
No known key found for this signature in database
GPG Key ID: EAE88AD172C5AE2D

View File

@ -16,9 +16,9 @@ type conciergeMode int
var _ flag.Value = new(conciergeMode) var _ flag.Value = new(conciergeMode)
const ( const (
modeUnknown conciergeMode = iota modeUnknown conciergeMode = iota
modeTokenCredentialRequestAPI conciergeMode = iota modeTokenCredentialRequestAPI
modeImpersonationProxy conciergeMode = iota modeImpersonationProxy
) )
func (c *conciergeMode) String() string { func (c *conciergeMode) String() string {