Skip to content

Commit

Permalink
Skip compilcation of logparser and tail on solaris (influxdata#3113)
Browse files Browse the repository at this point in the history
Allows compilation for solaris
  • Loading branch information
danielnelson authored Aug 10, 2017
1 parent 73897d1 commit 287a44d
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions plugins/inputs/logparser/logparser.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// +build !solaris

package logparser

import (
Expand Down
3 changes: 3 additions & 0 deletions plugins/inputs/logparser/logparser_solaris.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// +build solaris

package logparser
2 changes: 2 additions & 0 deletions plugins/inputs/tail/tail.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// +build !solaris

package tail

import (
Expand Down
5 changes: 5 additions & 0 deletions plugins/inputs/tail/tail_solaris.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// Skipping plugin on Solaris due to fsnotify support
//
// +build solaris

package tail

0 comments on commit 287a44d

Please sign in to comment.