extracted create and clean resources from tap runner (#557)

This commit is contained in:
RoyUP9
2021-12-27 11:32:48 +02:00
committed by GitHub
parent 52ce6044ea
commit fd97a09624
7 changed files with 347 additions and 316 deletions

View File

@@ -3,6 +3,7 @@ package cmd
import (
"context"
"fmt"
"github.com/up9inc/mizu/cli/utils"
"net/http"
"github.com/up9inc/mizu/cli/apiserver"
@@ -71,5 +72,5 @@ func runMizuView() {
return
}
waitForFinish(ctx, cancel)
utils.WaitForFinish(ctx, cancel)
}