Просмотр исходного кода

pkg/logutil: do not build journald logger on windows

Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
Gyuho Lee 7 лет назад
Родитель
Сommit
9cd9ae284f
2 измененных файлов с 4 добавлено и 0 удалено
  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 (