Browse Source

Fix a bug when using non host mounts

Kris Moore 4 năm trước cách đây
mục cha
commit
556bd1d7f5
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      charts/ipfs/1.0.0/templates/_storage.tpl

+ 1 - 1
charts/ipfs/1.0.0/templates/_storage.tpl

@@ -1,7 +1,7 @@
 {{/*
 Retrieve host path from ix volumes based on dataset name
 */}}
-{{- define "retrieveDataPathFromiXVolume" -}}
+{{- define "retrieveHostPathFromiXVolume" -}}
 {{- range $index, $hostPathConfiguration := $.ixVolumes }}
 {{- $dsName := base $hostPathConfiguration.hostPath -}}
 {{- if eq $.datasetName $dsName -}}