Skip to content

Commit

Permalink
Fix default_script_url
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Webb <dan.webb@damacus.io>
  • Loading branch information
damacus committed Dec 11, 2024
1 parent 8f0bfbe commit fd7d43c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
4 changes: 1 addition & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Cleanup changelog
=======

>>>>>>> 5326caf (Update readme, and documentation folder)
## 11.8.2 - *2024-12-11*
Expand Down Expand Up @@ -822,6 +823,3 @@ The 7.0 release includes a breaking change to package installs with version spec
- [#296](https://github.com/sous-chefs/docker/issues/296)
- [#297](https://github.com/sous-chefs/docker/issues/297)
- [#298](https://github.com/sous-chefs/docker/issues/298)

[@jcrobak]: https://github.com/jcrobak
[@wingrunr21]: https://github.com/wingrunr21
7 changes: 1 addition & 6 deletions resources/installation_script.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,7 @@
#########################

def default_script_url
case repo
when 'main'
'https://get.docker.com/'
when 'test'
'https://test.docker.com/'
end
"https://#{repo == 'main' ? 'get' : 'test'}.docker.com/"
end

#########
Expand Down

0 comments on commit fd7d43c

Please sign in to comment.