Skip to content

Commit

Permalink
small fixes to lookup naming
Browse files Browse the repository at this point in the history
  • Loading branch information
refaktor committed Nov 26, 2024
1 parent dd752dd commit 347e523
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions evaldo/builtins_os.go
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ var Builtins_os = map[string]*env.Builtin{
},
},

"ip-lookup": {
"lookup-address": {
Argsn: 1,
Doc: "Get address of an IP.",
Fn: func(ps *env.ProgramState, arg0 env.Object, arg1 env.Object, arg2 env.Object, arg3 env.Object, arg4 env.Object) env.Object {
Expand All @@ -372,7 +372,7 @@ var Builtins_os = map[string]*env.Builtin{
},
},

"address-lookup": {
"lookup-ip": {
Argsn: 1,
Doc: "Get IP of an address.",
Fn: func(ps *env.ProgramState, arg0 env.Object, arg1 env.Object, arg2 env.Object, arg3 env.Object, arg4 env.Object) env.Object {
Expand Down

0 comments on commit 347e523

Please sign in to comment.