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,18 +8,23 @@
|
|||
{{- with .Access -}}
|
||||
{{ " " }}{{ cjoin . }}
|
||||
{{- end -}}
|
||||
{{- .Padding 2 -}}
|
||||
{{- with .Type -}}
|
||||
{{ " type=" }}{{ . }}
|
||||
{{- end -}}
|
||||
{{- .Padding 3 -}}
|
||||
{{- with .Protocol -}}
|
||||
{{ " protocol=" }}{{ . }}
|
||||
{{- end -}}
|
||||
{{- .Padding 4 -}}
|
||||
{{- with .Address -}}
|
||||
{{ " addr=" }}{{ . }}
|
||||
{{- end -}}
|
||||
{{- .Padding 5 -}}
|
||||
{{- with .Label -}}
|
||||
{{ " label=" }}{{ . }}
|
||||
{{- end -}}
|
||||
{{- .Padding 6 -}}
|
||||
{{- if and .PeerLabel .PeerAddr -}}
|
||||
{{ " peer=(label=" }}{{ .PeerLabel }}{{ ", addr="}}{{ .PeerAddr }}{{ ")" }}
|
||||
{{- else -}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue