dragonfly/scheduler
jinronga 18fb640417
refactor(manager/scheduler): optimize IP formatting error handling (#4201)
- Optimized error handling when IP formatting fails in the manager and scheduler modules
- Replaced errors.New with fmt.Errorf to improve readability of error messages
- Extracted IP address string into a separate variable to enhance code maintainability

Signed-off-by: jinronga <1460595002@qq.com>

Update manager.go

Update scheduler.go

Update manager.go

refactor(scheduler): 更新 GRPC 监听器的 IP 配置

- 将 GRPC监听 IP 改为全局监听 IP
- 优化了 IP格式化错误的错误消息
2025-07-11 11:14:57 +08:00
..
announcer feat: add disk bandwidth information for host (#3652) 2024-11-18 20:59:45 +08:00
config feat: support HTTPS protocol for otel (#4159) 2025-06-25 08:35:36 +00:00
job feat: Add support for selecting specific peer IPs for preheating in job scheduler (#4194) 2025-07-08 04:32:22 +00:00
metrics feat: implement FindCandidatePersistentCacheParents for scheduling persistent cache task (#3770) 2025-01-17 20:01:59 +08:00
resource feat: support preheat for multiple urls (#4185) 2025-07-08 10:35:18 +08:00
rpcserver feat: add disk bandwidth information for host (#3652) 2024-11-18 20:59:45 +08:00
scheduling feat: support get info of the preheating image (#4139) 2025-06-18 10:57:22 +00:00
service feat: support get info of the preheating image (#4139) 2025-06-18 10:57:22 +00:00
scheduler.go refactor(manager/scheduler): optimize IP formatting error handling (#4201) 2025-07-11 11:14:57 +08:00