Enhance status command (#382)

Print peer status from the package

Added --detail flag for detailed status output
This commit is contained in:
Maycon Santos
2022-07-05 19:47:50 +02:00
committed by GitHub
parent 3bdfa3cc8e
commit 49e9113e0f
10 changed files with 978 additions and 128 deletions

View File

@@ -75,6 +75,7 @@ func RunClient(ctx context.Context, config *Config, statusRecorder *nbStatus.Sta
engineCtx, cancel := context.WithCancel(ctx)
defer func() {
statusRecorder.MarkManagementDisconnected(managementURL)
statusRecorder.CleanLocalPeerState()
cancel()
}()