|
|
|
@ -143,16 +143,9 @@ func main() {
|
|
|
|
|
|
|
|
|
|
switch workerMode {
|
|
|
|
|
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
|
|
|
|
|
modeIngress(*folderPathP, *skipNameP)
|
|
|
|
|
case "rebuild":
|
|
|
|
|
// rebuildIDP := flag.String("id", "", "id to rebuild")
|
|
|
|
|
flag.Parse()
|
|
|
|
|
modeRebuild(*rebuildIDP)
|
|
|
|
|
}
|
|
|
|
|