Skip to content

Commit

Permalink
Merge pull request #522 from runatlantis/testdrive-fix
Browse files Browse the repository at this point in the history
Fix testdrive for ngrok 2.2
  • Loading branch information
lkysow committed Mar 7, 2019
2 parents 0d3cf74 + fd7bd92 commit ff22cd5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ Diff: https://github.com/runatlantis/atlantis/compare/v0.4.15...v0.5.0
* If a pull request is deleted in Bitbucket Server, delete locks. (Fixes [#498](https://github.com/runatlantis/atlantis/issues/498))
* Support directories with spaces, ex `atlantis plan -d 'dir with spaces'`. (Fixes [#423](https://github.com/runatlantis/atlantis/issues/423))
* Ignore Terragrunt cache directories that were causing duplicate applies. (Fixes [#487](https://github.com/runatlantis/atlantis/issues/487))
* Fix `atlantis testdrive` for latest version of ngrok.

## Backwards Incompatibilities / Notes:
* **New Status Checks** - If you have settings in your Git host that require the Atlantis commit status
Expand Down
2 changes: 1 addition & 1 deletion testdrive/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func getTunnelAddr() (string, error) {
}

// Find the tunnel we just created.
expAtlantisURL := fmt.Sprintf("localhost:%d", atlantisPort)
expAtlantisURL := fmt.Sprintf("http://localhost:%d", atlantisPort)
for _, tun := range t.Tunnels {
if tun.Proto == "https" && tun.Config.Addr == expAtlantisURL {
return tun.PublicURL, nil
Expand Down

0 comments on commit ff22cd5

Please sign in to comment.