kubekey/pkg/modules
dbb_DingYongliang 4261580a60
fix: symbolic bug in GatherFacts function (#2411)
* fix: replace `bytes.TrimSuffix` with `bytes.TrimSpace` in HostInfo function, to avoid unexpected `\r` symbolic with different os system.

* fix: replace trim function with trimSpace

* fix bug
2024-09-20 11:18:10 +08:00
..
assert.go feat: add more golangci lint rule. (#2366) 2024-08-21 16:33:36 +08:00
assert_test.go feat: add more golangci lint rule. (#2366) 2024-08-21 16:33:36 +08:00
command.go fix: symbolic bug in GatherFacts function (#2411) 2024-09-20 11:18:10 +08:00
command_test.go feat: add more golangci lint rule. (#2366) 2024-08-21 16:33:36 +08:00
copy.go feat: add more golangci lint rule. (#2366) 2024-08-21 16:33:36 +08:00
copy_test.go feat: add more golangci lint rule. (#2366) 2024-08-21 16:33:36 +08:00
debug.go feat: add more golangci lint rule. (#2366) 2024-08-21 16:33:36 +08:00
debug_test.go feat: add more golangci lint rule. (#2366) 2024-08-21 16:33:36 +08:00
fetch.go feat: add more golangci lint rule. (#2366) 2024-08-21 16:33:36 +08:00
fetch_test.go feat: add more golangci lint rule. (#2366) 2024-08-21 16:33:36 +08:00
gen_cert.go feat: add more golangci lint rule. (#2366) 2024-08-21 16:33:36 +08:00
gen_cert_test.go feature: use go template instance pongo2 template (#2340) 2024-08-05 10:06:49 +08:00
image.go fix: image pull failed (#2394) 2024-09-06 16:28:35 +08:00
image_test.go feat: add more golangci lint rule. (#2366) 2024-08-21 16:33:36 +08:00
module.go feat: add more golangci lint rule. (#2366) 2024-08-21 16:33:36 +08:00
module_test.go feat: add more golangci lint rule. (#2366) 2024-08-21 16:33:36 +08:00
set_fact.go feat: add more golangci lint rule. (#2366) 2024-08-21 16:33:36 +08:00
set_fact_test.go feat: add more golangci lint rule. (#2366) 2024-08-21 16:33:36 +08:00
template.go feat: add more golangci lint rule. (#2366) 2024-08-21 16:33:36 +08:00
template_test.go feat: add more golangci lint rule. (#2366) 2024-08-21 16:33:36 +08:00