From 1e8463ac2dc2efda037792155b0e6ce5fc39674b Mon Sep 17 00:00:00 2001 From: Matt Moyer Date: Tue, 28 Jul 2020 08:41:26 -0500 Subject: [PATCH] Use Go's favorite version of the word "marshal". Again, no idea why but this word has two commonly accepted spelling and Go code seems to very consistently use the one with one "l". Signed-off-by: Matt Moyer --- cmd/placeholder-name/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/placeholder-name/main.go b/cmd/placeholder-name/main.go index 7d6afdb3..07c13d02 100644 --- a/cmd/placeholder-name/main.go +++ b/cmd/placeholder-name/main.go @@ -53,7 +53,7 @@ func run(envGetter envGetter, tokenExchanger tokenExchanger, outputWriter io.Wri err = json.NewEncoder(outputWriter).Encode(execCredential) if err != nil { - return fmt.Errorf("failed to marshall response to stdout: %w", err) + return fmt.Errorf("failed to marshal response to stdout: %w", err) } return nil