Page MenuHomeSoftware Heritage

get_docker_plugin_enable_flags.rb
No OneTemporary

get_docker_plugin_enable_flags.rb

def get_docker_plugin_enable_flags(args)
flags = []
flags << '--force' if args['force_remove'] == true
if args['plugin_alias'] && args['plugin_alias'].to_s != 'undef'
flags << "'#{args['plugin_alias']}'"
elsif args['plugin_name'] && args['plugin_name'].to_s != 'undef'
flags << "'#{args['plugin_name']}'"
end
flags.flatten.join(' ')
end

File Metadata

Mime Type
text/x-ruby
Expires
Sat, Jun 21, 9:17 PM (4 w, 17 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3371166

Event Timeline