Skip to content

Commit

Permalink
Minor bug fix with the add additional variables on existing variable set
Browse files Browse the repository at this point in the history
  • Loading branch information
BobJWalker committed Sep 28, 2020
1 parent 986831d commit f61b9cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Cloners/VariableSetValuesCloner.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ function Copy-OctopusVariableSetValues
}
}

if ($foundCounter -gt 1 -and $variableExistsOnDestination -eq $true -and $CloneScriptOptions.AddAdditionalVariableValuesOnExistingVariableSets -eq $true)
if ($foundCounter -gt 1 -and $variableExistsOnDestination -eq $true -and $CloneScriptOptions.AddAdditionalVariableValuesOnExistingVariableSets -eq $false)
{
Write-OctopusVerbose "The variable $variableName already exists on destination. You selected to skip duplicate instances, skipping."
}
Expand Down

0 comments on commit f61b9cf

Please sign in to comment.