From 4b2ac683b7725cec816e3e31f7512b7e3f082722 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 18 Mar 2025 15:13:55 -0500 Subject: start using IterBy() --- applyPatch.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'applyPatch.go') diff --git a/applyPatch.go b/applyPatch.go index 9abafef..8b05b18 100644 --- a/applyPatch.go +++ b/applyPatch.go @@ -160,7 +160,7 @@ func doRegister(newurl string) error { } test := strings.TrimSpace(string(body)) - for _, line := range strings.Split(test, "\n") { + for line := range strings.SplitSeq(test, "\n") { line = strings.TrimSpace(line) log.Info("server returned:", line) } -- cgit v1.2.3