add TODOs from gitea issues
This commit is contained in:
parent
55d47f30ec
commit
f920d03bc8
@ -53,6 +53,7 @@ var App = &cli.App{
|
||||
|
||||
Description: "Collect and ship kubernetes logs",
|
||||
// Usage: "rubykana <input>",
|
||||
// TODO: #2: yaml
|
||||
Flags: []cli.Flag{
|
||||
&cli.BoolFlag{Name: "dry-run", Usage: "Do not write to database"}, // TODO:
|
||||
&cli.StringFlag{Name: "log-directory", Usage: "Directory to watch for logs", Value: "/var/log/containers"},
|
||||
@ -146,6 +147,7 @@ var App = &cli.App{
|
||||
if !ok {
|
||||
return
|
||||
}
|
||||
// TODO: #1: || if not in filterset
|
||||
if event.Op != fsnotify.Create {
|
||||
continue
|
||||
}
|
||||
|
@ -111,6 +111,7 @@ func (s *submitter) shipFileRoutine(name string, sigCatchupped chan<- struct{})
|
||||
}
|
||||
|
||||
select {
|
||||
// TODO: use per-file batch senders for file deletion mongo synced, and better error handling; #3
|
||||
case s.sendQueue <- mLog{
|
||||
HostInfo: s.hostInfo,
|
||||
Filename: *line.Filename,
|
||||
|
Loading…
Reference in New Issue
Block a user