mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Typo in Add-DeprecationWarning call (#22168)
Unfortunately the script does not stop/fail because of such errors.
This commit is contained in:
parent
f4f09c9dbf
commit
868d19b509
1 changed files with 2 additions and 2 deletions
|
@ -43,9 +43,9 @@ if ($source) {$source = $source.Tolower()}
|
|||
|
||||
if ($upgrade)
|
||||
{
|
||||
Add-DeprecateWarning $result "Parameter upgrade=yes is replaced with state=latest"
|
||||
Add-DeprecationWarning $result "Parameter upgrade=yes is replaced with state=latest"
|
||||
if ($state -eq "present")
|
||||
{
|
||||
{
|
||||
$state = "latest"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue