格式化代码
This commit is contained in:
parent
4601da469b
commit
25add076f9
@ -32,7 +32,7 @@ public function handle(): int
|
|||||||
$weight = $this->argument('weight');
|
$weight = $this->argument('weight');
|
||||||
|
|
||||||
$this->info("当前节点的权重为:{$weight}。");
|
$this->info("当前节点的权重为:{$weight}。");
|
||||||
if ($weight == "0") {
|
if ($weight == '0') {
|
||||||
$this->warn('请求将不再调度到此节点。');
|
$this->warn('请求将不再调度到此节点。');
|
||||||
} else {
|
} else {
|
||||||
$this->info('将开始接受请求。');
|
$this->info('将开始接受请求。');
|
||||||
|
Loading…
Reference in New Issue
Block a user