Skip to content

Commit 409b2ba

Browse files
fix molecule test
Signed-off-by: varshaprasad96 <[email protected]>
1 parent 8bf53fb commit 409b2ba

File tree

2 files changed

+1
-2
lines changed
  • internal
    • cmd/ansible-operator/run
    • plugins/ansible/v1/scaffolds/internal/templates/molecule/mdefault

2 files changed

+1
-2
lines changed

internal/cmd/ansible-operator/run/cmd.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ func run(cmd *cobra.Command, f *flags.Flags) {
106106
}
107107

108108
if err := verifyCfgURL(cfg.Host); err != nil {
109-
log.Error(err, "Failed toverify config endpoint")
110109
os.Exit(1)
111110
}
112111

internal/plugins/ansible/v1/scaffolds/internal/templates/molecule/mdefault/prepare.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ const prepareTemplate = `---
5656
chdir: '{{ "{{ config_dir }}" }}/testing'
5757
5858
- name: Set pull policy
59-
command: '{{ "{{ kustomize }}" }} edit add patch pull_policy/{{ "{{ operator_pull_policy }}" }}.yaml'
59+
command: '{{ "{{ kustomize }}" }} edit add patch --path pull_policy/{{ "{{ operator_pull_policy }}" }}.yaml'
6060
args:
6161
chdir: '{{ "{{ config_dir }}" }}/testing'
6262

0 commit comments

Comments
 (0)