Page MenuHomeSoftware Heritage

get_docker_plugin_remove_flags.rb
No OneTemporary

get_docker_plugin_remove_flags.rb

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

File Metadata

Mime Type
text/x-ruby
Expires
Sat, Jun 21, 8:26 PM (3 w, 5 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3357634

Event Timeline