feat(aa): update templates to last struct changes.
This commit is contained in:
parent
4e1b972ee5
commit
8377dde5d2
10 changed files with 51 additions and 16 deletions
|
|
@ -8,16 +8,20 @@
|
|||
{{- with .FsType -}}
|
||||
{{ " fstype=" }}{{ . }}
|
||||
{{- end -}}
|
||||
{{- .Padding 2 -}}
|
||||
{{- with .Options -}}
|
||||
{{ " options=" }}{{ cjoin . }}
|
||||
{{- end -}}
|
||||
{{- .Padding 3 -}}
|
||||
{{- with .Source -}}
|
||||
{{ " " }}{{ . }}
|
||||
{{- end -}}
|
||||
{{- .Padding 4 -}}
|
||||
{{- with .MountPoint -}}
|
||||
{{ " -> " }}{{ . }}
|
||||
{{- end -}}
|
||||
{{- "," -}}
|
||||
{{- .Padding 5 -}}
|
||||
{{- template "comment" . -}}
|
||||
{{- end -}}
|
||||
|
||||
|
|
@ -27,13 +31,16 @@
|
|||
{{- with .FsType -}}
|
||||
{{ " fstype=" }}{{ . }}
|
||||
{{- end -}}
|
||||
{{- .Padding 2 -}}
|
||||
{{- with .Options -}}
|
||||
{{ " options=" }}{{ cjoin . }}
|
||||
{{- end -}}
|
||||
{{- .Padding 3 -}}
|
||||
{{- with .MountPoint -}}
|
||||
{{ " " }}{{ . }}
|
||||
{{- end -}}
|
||||
{{- "," -}}
|
||||
{{- .Padding 4 -}}
|
||||
{{- template "comment" . -}}
|
||||
{{- end -}}
|
||||
|
||||
|
|
@ -43,12 +50,15 @@
|
|||
{{- with .FsType -}}
|
||||
{{ " fstype=" }}{{ . }}
|
||||
{{- end -}}
|
||||
{{- .Padding 2 -}}
|
||||
{{- with .Options -}}
|
||||
{{ " options=" }}{{ cjoin . }}
|
||||
{{- end -}}
|
||||
{{- .Padding 3 -}}
|
||||
{{- with .MountPoint -}}
|
||||
{{ " " }}{{ . }}
|
||||
{{- end -}}
|
||||
{{- "," -}}
|
||||
{{- .Padding 4 -}}
|
||||
{{- template "comment" . -}}
|
||||
{{- end -}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue