Optimize code
This commit is contained in:
committed by
Ta-Ching Chen
parent
01bcfad44a
commit
b578819202
@@ -163,15 +163,15 @@ Options:
|
||||
runExecutor(port, fissionNs, functionNs)
|
||||
}
|
||||
|
||||
if arguments["--kubewatcher"] == true {
|
||||
if arguments["--kubewatcher"] {
|
||||
runKubeWatcher(routerUrl)
|
||||
}
|
||||
|
||||
if arguments["--timer"] == true {
|
||||
if arguments["--timer"] {
|
||||
runTimer(routerUrl)
|
||||
}
|
||||
|
||||
if arguments["--mqt"] == true {
|
||||
if arguments["--mqt"] {
|
||||
runMessageQueueMgr(routerUrl)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user