(cfg *config.ControllerConfig)
| 37 | ) |
| 38 | |
| 39 | func IsMasterRegion(cfg *config.ControllerConfig) bool { |
| 40 | if cfg.TrisolarisCfg.NodeType == "master" { |
| 41 | return true |
| 42 | } |
| 43 | return false |
| 44 | } |
| 45 | |
| 46 | // try to check until success |
| 47 | func IsMasterController(cfg *config.ControllerConfig) bool { |
no outgoing calls
no test coverage detected