浏览代码

Remove redundant default value definition

Diego Abelenda 7 年之前
父节点
当前提交
4e119df73a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      roles/openshift_persistentlocalstorage/templates/local-persistent-volume-config.j2

+ 1 - 1
roles/openshift_persistentlocalstorage/templates/local-persistent-volume-config.j2

@@ -2,7 +2,7 @@
 apiVersion: v1
 data:
 {% for class in persistentlocalstorage_classes %}
-  {{class}}: '{ "hostDir": "{{ openshift_persistentlocalstorage_path | default('/mnt/local-storage') }}/{{ class }}", "mountDir" : "{{ openshift_persistentlocalstorage_path | default('/mnt/local-storage') }}/{{ class }}" }'
+  {{class}}: '{ "hostDir": "{{ openshift_persistentlocalstorage_path }}/{{ class }}", "mountDir" : "{{ openshift_persistentlocalstorage_path }}/{{ class }}" }'
 {% endfor %}
 kind: ConfigMap
 metadata: