Skip to content

Commit

Permalink
Remove procfs dependency unless cgo is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
discordianfish committed Feb 9, 2015
1 parent 52186fc commit 93d11c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion prometheus/process_collector_procfs.go
Expand Up @@ -11,7 +11,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// +build linux plan9 solaris
// +build linux,cgo plan9,cgo solaris,cgo

package prometheus

Expand Down
2 changes: 1 addition & 1 deletion prometheus/process_collector_rest.go
Expand Up @@ -11,7 +11,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// +build !linux,!plan9,!solaris
// +build !linux,!plan9,!solaris !cgo

package prometheus

Expand Down

0 comments on commit 93d11c8

Please sign in to comment.