[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: oc observe --resync-period - does nothing



> I'm calling "oc observe" like this:
> 
> oc observe quota --all-namespaces --listen-addr=0.0.0.0:8080
> --object-env-var=OBJ --no-headers --type-env-var=EVENT_TYPE
> --resync-period=30s --names=./get-projects.py --delete=./delete.py --
> ./send-data.py
> 
> I would expect that every 30s a resync happens, but it doesn't do
> anything and just waits for updates, they are properly recognized.
> Strange enough: when calling oc observe without --names and --delete it
> will just crash after the resync period (this is a known bug
> https://bugzilla.redhat.com/show_bug.cgi?id=1377940), so it looks like
> that somehow the resync period does something, but I don't know what...

Anwering myself: It was an error in get-projects.py - Works as it should!

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]