-
Is your feature request related to a problem? Please describe.I changed it, but I receive message about updated and fresh containers. I have more than 30 running containers and it is not convenient for me: {{- if .Report -}}
{{- with .Report -}}
{{- if ( .Updated ) -}}
{{len .Scanned}} Scanned, {{len .Updated}} Updated, {{len .Failed}} Failed
{{- range .Updated}}
- {{.Name}} : updated
{{- end -}}
{{- range .Fresh}}
- {{.Name}} : {{.State}}
{{- end -}}
{{- range .Skipped}}
- {{.Name}} : {{.State}}: {{.Error}}
{{- end -}}
{{- range .Failed}}
- {{.Name}} : {{.State}}: {{.Error}}
{{- end -}}
{{- end -}}
{{- end -}}
{{- end -}} Describe the solution you'd likeChange notification template. I need it be more short, only updated containers Describe alternatives you've consideredI tried to change the template and decreased it, but I want more... Additional contextNo response |
Beta Was this translation helpful? Give feedback.
Answered by
piksel
Apr 13, 2023
Replies: 1 comment 1 reply
-
Hello! If I understand what you want correctly, you can just remove the fresh iteration from the template: {{- if .Report -}}
{{- with .Report -}}
{{- if ( .Updated ) -}}
{{len .Scanned}} Scanned, {{len .Updated}} Updated, {{len .Failed}} Failed
{{- range .Updated}}
- {{.Name}} : updated
{{- end -}}
{{- range .Skipped}}
- {{.Name}} : {{.State}}: {{.Error}}
{{- end -}}
{{- range .Failed}}
- {{.Name}} : {{.State}}: {{.Error}}
{{- end -}}
{{- end -}}
{{- end -}}
{{- end -}} |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Andrey-1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello! If I understand what you want correctly, you can just remove the fresh iteration from the template: