summaryrefslogtreecommitdiffstats
path: root/client/go
diff options
context:
space:
mode:
authorKristian Aune <kraune@verizonmedia.com>2023-03-21 16:22:28 +0100
committerKristian Aune <kraune@verizonmedia.com>2023-03-21 16:22:28 +0100
commit9e81e973ef179f69322e0ccfff10d3cc212c9381 (patch)
tree862597646fea83c05d95bc4e2f77ecb6b7f5fb6e /client/go
parent572737a8df21fb4405bc4511a9cfe16d45a0b9ee (diff)
typo
Diffstat (limited to 'client/go')
-rw-r--r--client/go/internal/cli/cmd/visit.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/go/internal/cli/cmd/visit.go b/client/go/internal/cli/cmd/visit.go
index 0b4de79d53f..2231b16c92a 100644
--- a/client/go/internal/cli/cmd/visit.go
+++ b/client/go/internal/cli/cmd/visit.go
@@ -151,9 +151,9 @@ func checkArguments(vArgs visitArgs) (res util.OperationResult) {
}
}
if vArgs.to != "" {
- _, err := strconv.ParseInt(vArgs.from, 10, 64)
+ _, err := strconv.ParseInt(vArgs.to, 10, 64)
if err != nil {
- return util.Failure("Invalid 'to' argument: '" + vArgs.from + "': " + err.Error())
+ return util.Failure("Invalid 'to' argument: '" + vArgs.to + "': " + err.Error())
}
}
return util.Success("")