Advertisement
Guest User

Untitled

a guest
Mar 28th, 2017
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. diff --git a/kolla/image/build.py b/kolla/image/build.py
  2. index fa0843f..f010e2f 100755
  3. --- a/kolla/image/build.py
  4. +++ b/kolla/image/build.py
  5. @@ -1115,6 +1115,6 @@ def run_build():
  6.  
  7. results = kolla.summary()
  8. kolla.cleanup()
  9. - if conf.format == 'json':
  10. + if conf is not None and conf.debug and conf.format == 'json':
  11. print(json.dumps(results))
  12. return kolla.get_image_statuses()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement