|
|
@ -143,16 +143,9 @@ func main() {
|
|
|
|
|
|
|
|
|
|
|
|
switch workerMode {
|
|
|
|
switch workerMode {
|
|
|
|
case "ingress":
|
|
|
|
case "ingress":
|
|
|
|
/*
|
|
|
|
|
|
|
|
folderPathP := flag.String("path", "/mnt/SC9000/TemporaryTestingShit2", "a string")
|
|
|
|
|
|
|
|
skipNameP := flag.String("skip", "", "skip until this name")
|
|
|
|
|
|
|
|
workerNameP := flag.String("worker", "def", "worker name")
|
|
|
|
|
|
|
|
flag.Parse()
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
workerID = *workerNameP
|
|
|
|
workerID = *workerNameP
|
|
|
|
modeIngress(*folderPathP, *skipNameP)
|
|
|
|
modeIngress(*folderPathP, *skipNameP)
|
|
|
|
case "rebuild":
|
|
|
|
case "rebuild":
|
|
|
|
// rebuildIDP := flag.String("id", "", "id to rebuild")
|
|
|
|
|
|
|
|
flag.Parse()
|
|
|
|
flag.Parse()
|
|
|
|
modeRebuild(*rebuildIDP)
|
|
|
|
modeRebuild(*rebuildIDP)
|
|
|
|
}
|
|
|
|
}
|
|
|
|