Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Getting build error #45

Open
prateekn opened this issue May 5, 2020 · 1 comment
Open

Getting build error #45

prateekn opened this issue May 5, 2020 · 1 comment

Comments

@prateekn
Copy link

prateekn commented May 5, 2020

Hi,

I m getting the following error when I try to build

vagrant@es1:~/work/src/github.com/gluster_exporter$ make build
>> ensure vendoring
>> vetting code
# github.com/gluster_exporter
./main.go:329:59: node.InodesTotal undefined (type struct { Hostname string "xml:\"hostname\""; Path string "xml:\"path\""; PeerID string "xml:\"peerid\""; Status int "xml:\"status\""; Port int "xml:\"port\""; Ports struct { TCP int "xml:\"tcp\""; RDMA string "xml:\"rdma\"" } "xml:\"ports\""; Pid int "xml:\"pid\""; SizeTotal uint64 "xml:\"sizeTotal\""; SizeFree uint64 "xml:\"sizeFree\""; Device string "xml:\"device\""; BlockSize int "xml:\"blockSize\""; MntOptions string "xml:\"mntOptions\""; FsName string "xml:\"fsName\"" } has no field or method InodesTotal)
./main.go:333:56: node.InodesFree undefined (type struct { Hostname string "xml:\"hostname\""; Path string "xml:\"path\""; PeerID string "xml:\"peerid\""; Status int "xml:\"status\""; Port int "xml:\"port\""; Ports struct { TCP int "xml:\"tcp\""; RDMA string "xml:\"rdma\"" } "xml:\"ports\""; Pid int "xml:\"pid\""; SizeTotal uint64 "xml:\"sizeTotal\""; SizeFree uint64 "xml:\"sizeFree\""; Device string "xml:\"device\""; BlockSize int "xml:\"blockSize\""; MntOptions string "xml:\"mntOptions\""; FsName string "xml:\"fsName\"" } has no field or method InodesFree)
Makefile:33: recipe for target 'vet' failed
make: *** [vet] Error 2

Please help

@yangzhao-kl
Copy link

use v0.2.7 to build

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants