Skip to content

Commit

Permalink
Also set use_auth from metadata_plugin_use_auth
Browse files Browse the repository at this point in the history
  • Loading branch information
twaugh committed Aug 10, 2015
1 parent 8bfe425 commit 7b8e4a4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions osbs/build/build_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,9 @@ def render(self):
if self.dj.dock_json_has_plugin_conf('prebuild_plugins', 'check_and_set_rebuild'):
self.dj.dock_json_set_arg('prebuild_plugins', 'check_and_set_rebuild', 'url',
self.spec.openshift_uri.value)
if self.spec.use_auth.value is not None:
self.dj.dock_json_set_arg('prebuild_plugins', 'check_and_set_rebuild',
'use_auth', self.spec.use_auth.value)

if self.spec.use_auth.value is not None:
try:
Expand Down

0 comments on commit 7b8e4a4

Please sign in to comment.