Skip to content

Commit

Permalink
Message format fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tmay57 committed Jun 8, 2021
1 parent 748e479 commit 5cb0904
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion LazyStackLib/LazyStackLib.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ function Read-AwsRegion {
}
function Read-AwsProfileName {
param ([string]$prompt, [string]$default, [int]$indent=0)
Write-Host "default=" $default
$indentstr = " " * $indent
do {
$inputvalue = (Read-String `
Expand Down
4 changes: 2 additions & 2 deletions LzConfigure.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -244,12 +244,12 @@ foreach($sysCode in $smf.$orgCode.Systems.Keys) {
try {
$null = Set-AwsCodeBuildCredentials -awsProfile $LzAccessRoleProfile -serverType "GITHUB" -token $LzPat
if($tryCount -gt 0) {
Write-Host $indent "Retry Successful"
Write-LzHost $indent "Retry Successful"
}
$done = $true
} catch {
if($Error -match "Payer ID") {
Write-Host $indent "Note: Retrying ImportSourceCredentials due to 'Payer ID' issue."
Write-LzHost $indent "Note: Retrying ImportSourceCredentials due to 'Payer ID' issue."
$tryCount += 1
if($tryCount -gt 5) {
$done = $true
Expand Down

0 comments on commit 5cb0904

Please sign in to comment.