Browse Source

pkg/logutil: do not build journald logger on windows

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
Gyuho Lee 7 years ago
parent
commit
9cd9ae284f
2 changed files with 4 additions and 0 deletions
  1. 2 0
      pkg/logutil/zap_journald.go
  2. 2 0
      pkg/logutil/zap_journald_test.go

+ 2 - 0
pkg/logutil/zap_journald.go

@@ -12,6 +12,8 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
+// +build !windows
+
 package logutil
 
 import (

+ 2 - 0
pkg/logutil/zap_journald_test.go

@@ -12,6 +12,8 @@
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
+// +build !windows
+
 package logutil
 
 import (