fix: compiling issue

This commit is contained in:
Marvin Zhang
2024-07-12 20:05:14 +08:00
parent 0c8b42145a
commit cbdfbf8d1d
4 changed files with 42 additions and 50 deletions

View File

@@ -7,6 +7,7 @@ import (
"github.com/crawlab-team/crawlab/core/controllers"
"github.com/crawlab-team/crawlab/core/interfaces"
"github.com/crawlab-team/crawlab/core/middlewares"
"github.com/crawlab-team/crawlab/core/utils"
"github.com/gin-gonic/gin"
"github.com/spf13/viper"
"net"
@@ -73,7 +74,7 @@ func (app *ApiV2) Start() {
}
func (app *ApiV2) Wait() {
DefaultWait()
utils.DefaultWait()
}
func (app *ApiV2) Stop() {