amargherio / aks-egress-checker

A container image used to validate required egress connectivity in AKS!
MIT License
0 stars 0 forks source link

Unwrap and clone usage #3

Open amargherio opened 1 year ago

amargherio commented 1 year ago

There's currently a lot of .unwrap() calls that would end up killing an execution of the checker - those need to be addressed and handled more appropriately.

Clone is also used quite a bit to handle passing data between async functions - maybe a mutex/Arc is the more appropriate way to handle this but I shouldn't be cloning large objects without some solid justification.