diff options
author | Tobias Schmidt <tobidt@gmail.com> | 2017-07-20 14:37:10 -0400 |
---|---|---|
committer | Tobias Schmidt <tobidt@gmail.com> | 2017-07-20 14:37:10 -0400 |
commit | 016d79535d0ec52faa9ed64b44f5956497e3dc37 (patch) | |
tree | cd440a8c1619021f7bbd31e824a3e04b887a35c3 /collector/meminfo.go | |
parent | efc1ea14ba75473586a2a50bd56f1dfab9be8e9b (diff) | |
download | prometheus_node_collector-016d79535d0ec52faa9ed64b44f5956497e3dc37.tar.bz2 prometheus_node_collector-016d79535d0ec52faa9ed64b44f5956497e3dc37.tar.xz prometheus_node_collector-016d79535d0ec52faa9ed64b44f5956497e3dc37.zip |
Fix build tags of meminfo collector
The meminfo collector only supports darwin, dragonfly, freebsd and linux
and must not be included in other archtictures.
Diffstat (limited to 'collector/meminfo.go')
-rw-r--r-- | collector/meminfo.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/collector/meminfo.go b/collector/meminfo.go index 6476c61..399e162 100644 --- a/collector/meminfo.go +++ b/collector/meminfo.go | |||
@@ -11,8 +11,8 @@ | |||
11 | // See the License for the specific language governing permissions and | 11 | // See the License for the specific language governing permissions and |
12 | // limitations under the License. | 12 | // limitations under the License. |
13 | 13 | ||
14 | // +build darwin dragonfly freebsd linux | ||
14 | // +build !nomeminfo | 15 | // +build !nomeminfo |
15 | // +build !netbsd | ||
16 | 16 | ||
17 | package collector | 17 | package collector |
18 | 18 | ||