Skip to content

Commit

Permalink
Fix default_script_url
Browse files Browse the repository at this point in the history
  • Loading branch information
damacus committed Dec 11, 2024
1 parent 8f0bfbe commit c848eca
Showing 1 changed file with 1 addition and 6 deletions.
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 c848eca

Please sign in to comment.