Skip to content

Commit d6af727

Browse files
logging fix for netbsd os (#22184)
* logging fix for netbsd os * logging fix for netbsd os * added chengelog entry
1 parent 0c441ee commit d6af727

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.changelog/22184.txt

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:bug
2+
logging: Fixed compilation error for OS NetBSD.
3+
```

logging/logfile_darwinandfreebsd.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright (c) HashiCorp, Inc.
22
// SPDX-License-Identifier: BUSL-1.1
33

4-
//go:build darwin || freebsd
4+
//go:build darwin || freebsd || netbsd
55

66
package logging
77

logging/logfile_openbsd.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright (c) HashiCorp, Inc.
22
// SPDX-License-Identifier: BUSL-1.1
33

4-
//go:build netbsd || openbsd
4+
//go:build openbsd
55

66
package logging
77

0 commit comments

Comments
 (0)