Skip to content

Commit

Permalink
Merge pull request #975 from mackerelio/fix-build-bsd
Browse files Browse the repository at this point in the history
fix build errors on *BSD platforms
  • Loading branch information
lufia authored Feb 27, 2024
2 parents 308518b + a257f1d commit 3e1f795
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/freebsd/interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ type InterfaceGenerator struct {
// Generate XXX
func (g *InterfaceGenerator) Generate() ([]mkr.Interface, error) {
// TODO
return []mkr.any, nil
return []mkr.Interface(nil), nil
}
2 changes: 1 addition & 1 deletion spec/netbsd/interface.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ type InterfaceGenerator struct {
// Generate XXX
func (g *InterfaceGenerator) Generate() ([]mkr.Interface, error) {
// TODO
return []mkr.any, nil
return []mkr.Interface(nil), nil
}

0 comments on commit 3e1f795

Please sign in to comment.