<#640 Refactor nodes package> Pull request opened ...
# osctrl
g
#640 Refactor nodes package Pull request opened by zhuoyuan-liu I’m in the middle of adding in-memory caching to the node packages, and I’ve noticed quite a few areas that could be improved along the way. This also includes a bug fix related to how active nodes are identified. I would expect a longer time for this PR. --- There is an import cycle:
Copy code
pkg/nodes/node-cache.go imports pkg/cache
pkg/cache → pkg/types → pkg/queries → pkg/nodes
My idea is that the cache package should be generic and not import any other packages. The same applies to the types package, as it only stores some of the osquery data formats. jmpsec/osctrl
#640 Refactor nodes package Pull request ready for review by zhuoyuan-liu jmpsec/osctrl