Skip to content

Commit 2ff9480

Browse files
committed
Don't try to marshal functions
Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
1 parent aec6628 commit 2ff9480

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/tools/tools.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ type ToolType string
2828

2929
type Tool struct {
3030
Function *FunctionDefinition `json:"function,omitempty"`
31-
Handler ToolHandler `json:"handler,omitempty"`
31+
Handler ToolHandler `json:"-"`
3232
}
3333

3434
type FunctionDefinition struct {

0 commit comments

Comments
 (0)