Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9125291
get_docker_plugin_remove_flags.rb
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
270 B
Subscribers
None
get_docker_plugin_remove_flags.rb
View Options
# 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
Details
Attached
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
Attached To
R205 puppet-puppetlabs-docker
Event Timeline
Log In to Comment