소스 검색

Add rc code to docker_creds module

This commit ensures that successful attempts at creating
registry credentials returns an rc == 0.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1602120
Michael Gugino 7 년 전
부모
커밋
884274fa92
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      roles/lib_utils/library/docker_creds.py

+ 1 - 1
roles/lib_utils/library/docker_creds.py

@@ -224,7 +224,7 @@ def run_module():
     if changed:
         write_config(module, docker_config, dest)
 
-    result = {'changed': changed}
+    result = {'changed': changed, 'rc': 0}
 
     module.exit_json(**result)