Fix imports when building on macos (#2180)

Signed-off-by: Alessio Caiazza <nolith@abisso.org>
pull/2181/head
Alessio Caiazza 3 years ago committed by GitHub
parent df7ea981f7
commit ee17ba0fc0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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"
) )

Loading…
Cancel
Save