This commit is contained in:
@@ -223,7 +223,7 @@ func main() {
|
|||||||
if gitEnable {
|
if gitEnable {
|
||||||
xMinute, _ := strconv.Atoi(gitInterval)
|
xMinute, _ := strconv.Atoi(gitInterval)
|
||||||
xDuration := time.Duration(xMinute) * time.Minute
|
xDuration := time.Duration(xMinute) * time.Minute
|
||||||
startAutoClone(gitRepo, gitBranch, gitDir, xDuration)
|
go startAutoClone(gitRepo, gitBranch, gitDir, xDuration)
|
||||||
}
|
}
|
||||||
|
|
||||||
StopServer(http.ListenAndServe(":8080", mux))
|
StopServer(http.ListenAndServe(":8080", mux))
|
||||||
|
Reference in New Issue
Block a user