Skip to content

Commit

Permalink
[dsccommunity#1474] Fixed two typos
Browse files Browse the repository at this point in the history
  • Loading branch information
bozho committed Mar 27, 2020
1 parent 2c1b07a commit f83a913
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ function Set-TargetResource
}
}

if ( $PSBoundParameers.ContainsKey('DefaultDatabase') -and ($login.DefaultDatabase -ne $DefaultDatabase) )
if ( $PSBoundParameters.ContainsKey('DefaultDatabase') -and ($login.DefaultDatabase -ne $DefaultDatabase) )
{
$login.DefaultDatabase = $DefaultDatabase
Update-SQLServerLogin -Login $login
Expand Down Expand Up @@ -311,7 +311,7 @@ function Set-TargetResource
}

# set the default database if specified
if ( $PSBoundParameers.ContainsKey('DefaultDatabase') )
if ( $PSBoundParameters.ContainsKey('DefaultDatabase') )
{
$login.DefaultDatabase = $DefaultDatabase
Update-SQLServerLogin -Login $login
Expand Down

0 comments on commit f83a913

Please sign in to comment.