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 <moyerm@vmware.com>
This commit is contained in:
Matt Moyer 2020-07-28 08:41:26 -05:00
parent a5dbc324f6
commit 1e8463ac2d

View File

@ -53,7 +53,7 @@ func run(envGetter envGetter, tokenExchanger tokenExchanger, outputWriter io.Wri
err = json.NewEncoder(outputWriter).Encode(execCredential) err = json.NewEncoder(outputWriter).Encode(execCredential)
if err != nil { 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 return nil