From 8c7b6e02ef1c642a321aa01723b646801da33adc Mon Sep 17 00:00:00 2001 From: Grant Linville Date: Fri, 7 Feb 2025 15:37:45 -0500 Subject: [PATCH] fix: oauth2: only return the credential once (#427) Signed-off-by: Grant Linville --- oauth2/main.go | 1 - 1 file changed, 1 deletion(-) diff --git a/oauth2/main.go b/oauth2/main.go index bd4628ef..4e5bf6cb 100644 --- a/oauth2/main.go +++ b/oauth2/main.go @@ -199,7 +199,6 @@ func mainErr() (err error) { return fmt.Errorf("main: failed to marshal refreshed credential: %w", err) } - fmt.Print(string(credJSON)) return nil }