Skip to content

Commit

Permalink
Update PowerShell/ScubaGear/Modules/Orchestrator.psm1
Browse files Browse the repository at this point in the history
Co-authored-by: Addam Schroll <108814318+schrolla@users.noreply.github.com>
  • Loading branch information
crutchfield and schrolla committed Jan 24, 2024
1 parent c599fc0 commit c5d7f0b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions PowerShell/ScubaGear/Modules/Orchestrator.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -284,14 +284,14 @@ function Invoke-SCuBA {
}
}

# New the bound parameters contain the following
# Now the bound parameters contain the following
# 1) Non Authentication Parameters explicitly passed in
# 2) Authentication parameters ( passed in or from the config file as per code above )
#
# So to provide for a command line override of config values just set the correspoding
# config value from the bound parametersrs to override. Thsi is redundant copy for
# So to provide for a command line override of config values just set the corresponding
# config value from the bound parameters to override. This is redundant copy for
# the authentication parameters ( but keeps the logic simpler)
# We do not allow ConfigFilePath to be copied as it will be propegated to the
# We do not allow ConfigFilePath to be copied as it will be propagated to the
# config module by reference and causes issues
#
foreach ( $value in $PSBoundParameters.keys ) {
Expand Down

0 comments on commit c5d7f0b

Please sign in to comment.