File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
lib/puppet/parser/functions Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -26,8 +26,8 @@ module Puppet::Parser::Functions
26
26
flags << "--prune '#{ opts [ 'prune' ] } '"
27
27
end
28
28
29
- if opts [ 'with_registry_auth' ] . to_s != 'undef'
30
- flags << " --with-registry-auth ' #{ opts [ 'with_registry_auth' ] } '"
29
+ if opts [ 'with_registry_auth' ]
30
+ flags << ' --with-registry-auth'
31
31
end
32
32
33
33
flags . flatten . join ( ' ' )
Original file line number Diff line number Diff line change 41
41
Optional[String] $bundle_file = undef ,
42
42
Optional[Array] $compose_files = undef ,
43
43
Optional[String] $prune = undef ,
44
- Optional[String ] $with_registry_auth = undef ,
44
+ Optional[Boolean ] $with_registry_auth = false ,
45
45
Optional[Pattern[/^always$|^changed$|^never$/]] $resolve_image = undef ,
46
46
){
47
47
You can’t perform that action at this time.
0 commit comments