Skip to content

Commit

Permalink
fix JSON marshal error
Browse files Browse the repository at this point in the history
  • Loading branch information
navigaid committed Jan 2, 2025
1 parent 6d776c2 commit c552d37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/hub/agent/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func (ag *agent) Info() *info.Info {
}

func (ag *agent) MarshalJSON() ([]byte, error) {
return []byte(pretty.JSONStringLine(ag.Info)), nil
return []byte(pretty.JSONStringLine(ag.Info())), nil
}

type agent struct {
Expand Down

0 comments on commit c552d37

Please sign in to comment.