summaryrefslogtreecommitdiff
path: root/src/ping_tool.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/ping_tool.zig')
-rw-r--r--src/ping_tool.zig8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/ping_tool.zig b/src/ping_tool.zig
index eb212af..d18bc02 100644
--- a/src/ping_tool.zig
+++ b/src/ping_tool.zig
@@ -35,9 +35,11 @@ const SCHEMA_JSON =
/// nothing dereferences it.
pub fn tool() panto.Tool {
return .{
- .name = NAME,
- .description = DESCRIPTION,
- .schema_json = SCHEMA_JSON,
+ .decl = .{
+ .name = NAME,
+ .description = DESCRIPTION,
+ .schema_json = SCHEMA_JSON,
+ },
.ctx = &ctx_sentinel,
.vtable = &vtable,
};