Optimize code

This commit is contained in:
Wang Guoliang
2018-01-24 13:43:51 +08:00
committed by Ta-Ching Chen
parent 01bcfad44a
commit b578819202
11 changed files with 21 additions and 21 deletions
+3 -3
View File
@@ -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)
}