FDio / govpp

Go toolset for the VPP.
Apache License 2.0
193 stars 82 forks source link

Fix WaitReady if directory does not exist #84

Closed ondrej-fabry closed 1 year ago

ondrej-fabry commented 1 year ago

This PR contains alternative to #83 which is a fix for issue described in #81.

mhalaj1 commented 1 year ago

The function WaitReady should start with checking for socket existence. If the socket already exists, we do not need to watch the directories. Otherwise, this looks good to me.