Skip to content
Snippets Groups Projects
Commit 43599389 authored by Sascha Marcel Schmidt's avatar Sascha Marcel Schmidt Committed by Kubernetes Prow Robot
Browse files

fix assertions, use msg instead of message (#3913)

parent 1d5a9464
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,9 @@
- register: "clusterrolebinding_state"
command: "{{bin_dir}}/kubectl get clusterrolebinding heketi-gluster-admin -o=name --ignore-not-found=true"
changed_when: false
- assert: { that: "clusterrolebinding_state.stdout != \"\"", message: "Cluster role binding is not present." }
- assert:
that: "clusterrolebinding_state.stdout != \"\""
msg: "Cluster role binding is not present."
- register: "secret_state"
command: "{{bin_dir}}/kubectl get secret heketi-config-secret -o=name --ignore-not-found=true"
......@@ -24,4 +26,6 @@
- register: "secret_state"
command: "{{bin_dir}}/kubectl get secret heketi-config-secret -o=name --ignore-not-found=true"
changed_when: false
- assert: { that: "secret_state.stdout != \"\"", message: "Heketi config secret is not present." }
- assert:
that: "secret_state.stdout != \"\""
msg: "Heketi config secret is not present."
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment