GitHub
08/01/2024, 11:38 AMdbFlag and apiFlag are incorrectly set when calling osctrl-cli env quick-add here
Looking at the code this action queries the DB but looks like apiFlag is set to true and dbFlag should be set instead.
Could not figure out where in the code this is happening to create a PR.
I can see that the quick-add wrapper is set here but I do not see any reference to this flags so not sure where they are inherited from.
Durring some testing I presume some other commands (like osctrl-cli settings show) have this problem also because they result in a panic error:
panic: runtime error: invalid memory address or nil pointer dereference
jmpsec/osctrlGitHub
08/14/2024, 8:49 PM