mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-12-25 06:27:49 +01:00
fix(aa): import missing lib & improve template indentation.
This commit is contained in:
parent
09a06db803
commit
c249005958
2 changed files with 3 additions and 1 deletions
|
@ -4,6 +4,8 @@
|
||||||
|
|
||||||
package aa
|
package aa
|
||||||
|
|
||||||
|
import "strings"
|
||||||
|
|
||||||
// Qualifier to apply extra settings to a rule
|
// Qualifier to apply extra settings to a rule
|
||||||
type Qualifier struct {
|
type Qualifier struct {
|
||||||
Audit bool
|
Audit bool
|
||||||
|
|
|
@ -191,7 +191,7 @@
|
||||||
{{ " bus=" }}{{ . }}
|
{{ " bus=" }}{{ . }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- with .Path -}}
|
{{- with .Path -}}
|
||||||
{{ " path=" }}{{ . }}
|
{{ " path=" }}{{ . }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{ "\n" }}
|
{{ "\n" }}
|
||||||
{{- with .Interface -}}
|
{{- with .Interface -}}
|
||||||
|
|
Loading…
Reference in a new issue