Changes requested by @codyoss

This commit is contained in:
Ryan Kohler
2022-04-22 10:37:47 -07:00
parent 922b64a39c
commit 8e4e7dc9f8
3 changed files with 7 additions and 7 deletions

View File

@@ -102,7 +102,7 @@ type executableCredentialSource struct {
// CreateExecutableCredential creates an executableCredentialSource given an ExecutableConfig.
// It also performs defaulting and type conversions.
func CreateExecutableCredential(ec ExecutableConfig, config *Config, ctx context.Context) (result executableCredentialSource) {
func CreateExecutableCredential(ctx context.Context, ec *ExecutableConfig, config *Config) (result executableCredentialSource) {
result.Command = ec.Command
if ec.TimeoutMillis == 0 {
result.Timeout = defaultTimeout