fix lint error in Go SDK (#6276)

This commit is contained in:
Evan Boyle 2021-02-08 12:09:20 -08:00 committed by GitHub
parent 5401057561
commit 3ba0c219db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -521,9 +521,7 @@ func (s *Stack) History(ctx context.Context, limit int) ([]UpdateSummary, error)
args = append(args, "--limit", fmt.Sprintf("%d", limit))
}
stdout, stderr, errCode, err := s.runPulumiCmdSync(ctx, nil, /* additionalOutputs */
"history", "--json", "--show-secrets",
)
stdout, stderr, errCode, err := s.runPulumiCmdSync(ctx, nil /* additionalOutputs */, args...)
if err != nil {
return nil, newAutoError(errors.Wrap(err, "failed to get stack history"), stdout, stderr, errCode)
}