cli: add missing flag to miniConstellation (#1374)

* Add missing flag to miniConstellation

* Add config merger to miniConstellation

* Soft fail if config can not be merged

* Remove config flattening

* Release spinner stop lock when stopping finished

---------

Signed-off-by: Daniel Weiße <dw@edgeless.systems>
Co-authored-by: Nils Hanke <nils.hanke@outlook.com>
This commit is contained in:
Daniel Weiße 2023-03-08 15:48:36 +01:00 committed by GitHub
parent ebf7dd8842
commit 446b77828b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 10 deletions

View file

@ -84,6 +84,7 @@ func (s *spinner) Start(text string, showDots bool) {
func (s *spinner) Stop() {
s.stop.Store(true)
s.wg.Wait()
s.stop.Store(false)
}
// Write stops the spinner and writes the given bytes to the underlying writer.