From 5b180bfeb2b867e8d5428c09b1c5f0623117b342 Mon Sep 17 00:00:00 2001 From: Alexandre Pujol Date: Thu, 28 Sep 2023 19:42:17 +0100 Subject: [PATCH] refractor: move profile template in its own directory. --- pkg/aa/template.go | 2 +- pkg/aa/{template.j2 => templates/profile.j2} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename pkg/aa/{template.j2 => templates/profile.j2} (100%) diff --git a/pkg/aa/template.go b/pkg/aa/template.go index 48d88c8d..893442eb 100644 --- a/pkg/aa/template.go +++ b/pkg/aa/template.go @@ -15,7 +15,7 @@ import ( const indentation = " " var ( - //go:embed template.j2 + //go:embed templates/profile.j2 tmplFileAppArmorProfile string // tmplFunctionMap is the list of function available in the template diff --git a/pkg/aa/template.j2 b/pkg/aa/templates/profile.j2 similarity index 100% rename from pkg/aa/template.j2 rename to pkg/aa/templates/profile.j2