Simplify const declarations in flag_types.go.
Signed-off-by: Matt Moyer <moyerm@vmware.com>
This commit is contained in:
parent
274e6281a8
commit
34e15f03c3
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user