Skip to content

Commit 8b5b681

Browse files
committed
[openbsd] set ConnectionsPid to return NotImplemented
Seems to fix building latest telegraf on OpenBSD
1 parent 2a70d27 commit 8b5b681

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

net/net_openbsd.go

+4
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,10 @@ func Connections(kind string) ([]ConnectionStat, error) {
278278
return ConnectionsWithContext(context.Background(), kind)
279279
}
280280

281+
func ConnectionsPid(kind string, pid int32) ([]ConnectionStat, error) {
282+
return nil, common.ErrNotImplementedError
283+
}
284+
281285
func ConnectionsWithContext(ctx context.Context, kind string) ([]ConnectionStat, error) {
282286
var ret []ConnectionStat
283287

0 commit comments

Comments
 (0)