From c8f37afe9ad91c244b94079f1f58c65f79561bd9 Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Sun, 21 Jan 2024 11:58:44 +0000 Subject: [PATCH] feat(aa-log): improve profile rendering. --- pkg/aa/templates/profile.j2 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/aa/templates/profile.j2 b/pkg/aa/templates/profile.j2 index ffc4b4ac..00c936b2 100644 --- a/pkg/aa/templates/profile.j2 +++ b/pkg/aa/templates/profile.j2 @@ -238,7 +238,9 @@ {{- if eq .Access "bind" -}} {{ " bind bus=" }}{{ .Bus }}{{ " name=" }}{{ .Name }} {{- else -}} - {{ " " }}{{ .Access }} + {{- with .Access -}} + {{ " " }}{{ . }} + {{- end -}} {{- with .Bus -}} {{ " bus=" }}{{ . }} {{- end -}}