浏览代码

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)