From 34e15f03c3da118b7c84b9fe524e003e9ac32ab4 Mon Sep 17 00:00:00 2001 From: Matt Moyer Date: Thu, 4 Mar 2021 15:17:42 -0600 Subject: [PATCH] Simplify const declarations in flag_types.go. Signed-off-by: Matt Moyer --- cmd/pinniped/cmd/flag_types.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/pinniped/cmd/flag_types.go b/cmd/pinniped/cmd/flag_types.go index ad682a1d..73c8cfd1 100644 --- a/cmd/pinniped/cmd/flag_types.go +++ b/cmd/pinniped/cmd/flag_types.go @@ -16,9 +16,9 @@ type conciergeMode int var _ flag.Value = new(conciergeMode) const ( - modeUnknown conciergeMode = iota - modeTokenCredentialRequestAPI conciergeMode = iota - modeImpersonationProxy conciergeMode = iota + modeUnknown conciergeMode = iota + modeTokenCredentialRequestAPI + modeImpersonationProxy ) func (c *conciergeMode) String() string {