Skip to content

Commit

Permalink
Make legacy_list_objects properly optional
Browse files Browse the repository at this point in the history
refs: #10
  • Loading branch information
hadret committed Feb 24, 2023
1 parent f91b3d7 commit 20423c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/restic-wrapper.sh.j2
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ export {{ k | upper }}={{ v | trim | quote }}
{% endfor %}
{% endif %}

"{{ restic_install_path }}/restic" {% if item.legacy_list_objects %}-o s3.list-objects-v1=true {% endif %}"$@"
"{{ restic_install_path }}/restic" {% if item.legacy_list_objects is defined %}-o s3.list-objects-v1={{ item.legacy_list_objects }} {% endif %}"$@"

0 comments on commit 20423c9

Please sign in to comment.