mirror of
https://github.com/fluxcd/flux2.git
synced 2026-05-03 00:28:50 +00:00
move struct definition
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
This commit is contained in:
parent
96afee996a
commit
0cfdc5d674
2 changed files with 11 additions and 12 deletions
|
|
@ -277,7 +277,6 @@ func logRequest(ctx context.Context, request rest.ResponseWrapper, w io.Writer)
|
|||
}
|
||||
|
||||
func filterPrintLog(t *template.Template, l *ControllerLogEntry, w io.Writer) {
|
||||
//fmt.
|
||||
if (logsArgs.logLevel == "" || logsArgs.logLevel == l.Level) &&
|
||||
(logsArgs.kind == "" || strings.EqualFold(logsArgs.kind, l.Kind)) &&
|
||||
(logsArgs.name == "" || strings.EqualFold(logsArgs.name, l.Name)) &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue