diff --git a/app/Console/Commands/Cluster/Weight.php b/app/Console/Commands/Cluster/Weight.php index a17608f..12a780e 100644 --- a/app/Console/Commands/Cluster/Weight.php +++ b/app/Console/Commands/Cluster/Weight.php @@ -32,7 +32,7 @@ public function handle(): int $weight = $this->argument('weight'); $this->info("当前节点的权重为:{$weight}。"); - if ($weight == "0") { + if ($weight == '0') { $this->warn('请求将不再调度到此节点。'); } else { $this->info('将开始接受请求。');