We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent beb786f commit 99e0a28Copy full SHA for 99e0a28
lib/puppet/parser/functions/docker_run_flags.rb
@@ -46,8 +46,8 @@ module Puppet::Parser::Functions
46
flags << '--detach=true'
47
end
48
49
- if opts['health_check_cmd']
50
- flags << "--health-cmd '#{opts['health_check_command']} || exit 1'"
+ if opts['health_check_cmd'].to_s != 'undef'
+ flags << "--health-cmd #{opts['health_check_cmd']}"
51
52
53
if opts['tty']
0 commit comments