Skip to content

Commit

Permalink
tests not passing, reverting commit
Browse files Browse the repository at this point in the history
Revert "Update warning message if root certs were not able to be updated"

This reverts commit 6086099.

Co-authored-by: Flora Gallina-Jones <fgallinajones@pivotal.io>
  • Loading branch information
austina-lin and fg-j committed Mar 6, 2020
1 parent 6086099 commit e837cf0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions stemcell-automation/AutomationHelpers.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -499,8 +499,17 @@ function Extract-LGPO

function Install-WUCerts
{
try
{
Get-WUCerts
Write-Log "Successfully retrieved Windows Update certs"
}
catch [Exception]
{
Write-Log $_.Exception.Message
Write-Log "Failed to retrieve updated root certificates from the public Windows Update Server."
throw $_.Exception
}
}

function Create-VersionFile
Expand Down
2 changes: 1 addition & 1 deletion stemcell-automation/ProvisionVM.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function ProvisionVM() {
catch [Exception]
{
Write-Log $_.Exception.Message
Write-Warning "Failed to retrieve updated root certificates from the public Windows Update Server. This should not impact the successful execution of stembuild construct. If your root certificates are out of date, Diego cells running on VMs built from this stemcell may not be able to make outbound network connections."
Write-Warning "This should not impact the successful execution of stembuild construct. If the root certificates are out of date, Diego cells running on VMs built off of this stemcell may not be able to make outbound network connections."
}
Create-VersionFile -Version $Version
Restart-Computer
Expand Down

0 comments on commit e837cf0

Please sign in to comment.