diff options
author | Brian Brazil <brian.brazil@robustperception.io> | 2015-12-18 14:08:52 +0000 |
---|---|---|
committer | Brian Brazil <brian.brazil@robustperception.io> | 2015-12-18 14:08:52 +0000 |
commit | 2f0d697f8ccacda96f5a7a497b46131057d0f6a5 (patch) | |
tree | f148e88d6f01f1864c703dee4984d0291fc2dea3 /collector/interrupts_openbsd.go | |
parent | 514f5ad4a951384f6e29f67c174b5ed468f73dfd (diff) | |
download | prometheus_node_collector-2f0d697f8ccacda96f5a7a497b46131057d0f6a5.tar.bz2 prometheus_node_collector-2f0d697f8ccacda96f5a7a497b46131057d0f6a5.tar.xz prometheus_node_collector-2f0d697f8ccacda96f5a7a497b46131057d0f6a5.zip |
Do a make format run.
Diffstat (limited to 'collector/interrupts_openbsd.go')
-rw-r--r-- | collector/interrupts_openbsd.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/collector/interrupts_openbsd.go b/collector/interrupts_openbsd.go index c6ded5a..787bea8 100644 --- a/collector/interrupts_openbsd.go +++ b/collector/interrupts_openbsd.go | |||
@@ -94,7 +94,6 @@ sysctl_intr(struct intr *intr, int idx) | |||
94 | */ | 94 | */ |
95 | import "C" | 95 | import "C" |
96 | 96 | ||
97 | |||
98 | var ( | 97 | var ( |
99 | interruptLabelNames = []string{"CPU", "type", "devices"} | 98 | interruptLabelNames = []string{"CPU", "type", "devices"} |
100 | ) | 99 | ) |
@@ -126,7 +125,7 @@ type interrupt struct { | |||
126 | 125 | ||
127 | func getInterrupts() (map[string]interrupt, error) { | 126 | func getInterrupts() (map[string]interrupt, error) { |
128 | var ( | 127 | var ( |
129 | cintr C.struct_intr | 128 | cintr C.struct_intr |
130 | interrupts = map[string]interrupt{} | 129 | interrupts = map[string]interrupt{} |
131 | ) | 130 | ) |
132 | 131 | ||