Skip to content

Commit

Permalink
Documentation cleanup + make the first letter of Docker uppercase (#148)
Browse files Browse the repository at this point in the history
  • Loading branch information
RDIL authored and TravisEz13 committed Feb 19, 2019
1 parent bc4a691 commit b49b23d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 16 deletions.
14 changes: 4 additions & 10 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,40 +11,34 @@ If it is a bug report:
If it's not a bug, please remove the template and elaborate the issue in your own words.
-->

Steps to reproduce
------------------
## Steps to reproduce

```powershell
```

Expected behavior
-----------------
## Expected behavior

```none
```

Actual behavior
---------------
## Actual behavior

```none
```

Environment data
----------------
## Environment data

<!-- provide the docker info -->

```sh
> docker info

```

<!-- provide the output of $PSVersionTable from powershell in the docker container -->

```powershell
> $PSVersionTable
```
12 changes: 6 additions & 6 deletions tests/containerTestCommon.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function Invoke-Docker
$dockerExitCode = $LASTEXITCODE
if($PassThru.IsPresent)
{
Write-Verbose "passing through docker results of length: $($result.length)..." -Verbose
Write-Verbose "passing through Docker results of length: $($result.length)..." -Verbose
return $result
}
elseif($dockerExitCode -ne 0 -and $FailureAction -eq 'error')
Expand All @@ -77,18 +77,18 @@ function Invoke-Docker
Write-Warning "*** Last 80 lines of log:"
$errorTail | ForEach-Object { Write-Warning -Message $_}

Write-Error "docker $command failed, see $filename ($($result.length))" -ErrorAction Stop
Write-Error "Docker $command failed, see $filename ($($result.length))" -ErrorAction Stop
}
else
{
Write-Error "docker $command failed with: $resultString ($($result.length))" -ErrorAction Stop
Write-Error "Docker $command failed with: $resultString ($($result.length))" -ErrorAction Stop
}

return $false
}
elseif($dockerExitCode -ne 0 -and $FailureAction -eq 'warning')
{
Write-Warning "docker $command failed with: $result"
Write-Warning "Docker $command failed with: $result"
return $false
}
elseif($dockerExitCode -ne 0)
Expand Down Expand Up @@ -207,7 +207,7 @@ function Test-SkipLinux
return $true
}
default {
throw "Unknow docker os '$os'"
throw "Unknown Docker os '$os'"
}
}
}
Expand Down Expand Up @@ -349,7 +349,7 @@ function Get-DockerImageLabel
return Invoke-Docker -Command inspect -Params $runParams -SuppressHostOutput -PassThru
}

# Builds a docker image
# Builds a Docker image
function Invoke-DockerBuild
{
param(
Expand Down

0 comments on commit b49b23d

Please sign in to comment.