Skip to content

Commit

Permalink
update error message
Browse files Browse the repository at this point in the history
  • Loading branch information
stavros-k committed Nov 1, 2023
1 parent b2220cc commit def0ad4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/common/templates/app_functions/_storageEntry.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
{{/* hostPath */}}
{{- if eq $storage.type "hostPath" -}}
{{- if not $storage.hostPathConfig -}}
{{- fail (printf "Storage - Expected [hostPathConfig] to not be empty") -}}
{{- fail (printf "Storage Shim - Expected non-empty [hostPathConfig]") -}}
{{- end -}}

{{- if $storage.hostPathConfig.aclEnable -}}
Expand All @@ -37,7 +37,7 @@
{{/* ixVolume */}}
{{- if eq $storage.type "ixVolume" -}}
{{- if not $storage.ixVolumeConfig -}}
{{- fail (printf "Storage Expected [ixVolumeConfig] to not be empty") -}}
{{- fail (printf "Storage Shim - Expected non-empty [ixVolumeConfig]") -}}
{{- end -}}

{{- $datasetName = $storage.ixVolumeConfig.datasetName -}}
Expand Down

0 comments on commit def0ad4

Please sign in to comment.