This repository has been archived by the owner. It is now read-only.

Improved error handling for pull and build #5159

Merged
merged 2 commits into from Oct 5, 2016

Conversation

Projects
None yet
2 participants
@chouseknecht
Member

chouseknecht commented Oct 5, 2016

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

docker_service.py

ANSIBLE VERSION
ansible 2.2.0 (devel 15ee97d214) last updated 2016/10/04 21:12:02 (GMT -400)
  lib/ansible/modules/core: (fix_docker_service fba5883dd1) last updated 2016/10/05 00:45:57 (GMT -400)
  lib/ansible/modules/extras: (detached HEAD df35d324d6) last updated 2016/10/04 21:16:22 (GMT -400)
  config file =
  configured module search path = Default w/o overrides
SUMMARY

Fixes #5145. For cmd_build and cmd_pull, catch NoSuchImageFound when calling service.image(). For debugging purposes, refactored result['actions'] to capture all actions.

chouseknecht added some commits Oct 5, 2016

@jimi-c jimi-c added the in progress label Oct 5, 2016

@chouseknecht chouseknecht merged commit f9f8af9 into ansible:devel Oct 5, 2016

1 check passed

Shippable Run 1603 status is SUCCESS.
Details

@jimi-c jimi-c removed the in progress label Oct 5, 2016

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.