Fix imports when building on macos (#2180)

Signed-off-by: Alessio Caiazza <nolith@abisso.org>
This commit is contained in:
Alessio Caiazza 2021-10-27 16:56:36 +02:00 committed by GitHub
parent df7ea981f7
commit ee17ba0fc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -11,6 +11,7 @@
// See the License for the specific language governing permissions and // See the License for the specific language governing permissions and
// limitations under the License. // limitations under the License.
//go:build !notherm
// +build !notherm // +build !notherm
package collector package collector
@ -46,7 +47,7 @@ import "C"
import ( import (
"errors" "errors"
"fmt" "fmt"
"github.com/go-kit/kit/log" "github.com/go-kit/log"
"github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus"
"unsafe" "unsafe"
) )