Giter Club home page Giter Club logo

Comments (5)

worker24h avatar worker24h commented on September 14, 2024 1

PR: #828

from categraf.

worker24h avatar worker24h commented on September 14, 2024

目前将代码修改成

ignoreHostname := c.GetBool("ignore_hostname")

修改为

ignoreHostname := config.Config.Global.OmitHostname

代码生效
@kongfei605 kong

from categraf.

kongfei605 avatar kongfei605 commented on September 14, 2024

api里面的代码确实是独立写的。可以参考 inline.go 中处理 提个PR

from categraf.

worker24h avatar worker24h commented on September 14, 2024
For more information, see 'go help module-auth'.
go: flashcat.cloud/categraf/inputs/dcgm/dcgmexporter imports
	k8s.io/client-go/kubernetes imports
	k8s.io/client-go/discovery imports
	k8s.io/client-go/openapi imports
	k8s.io/apimachinery/pkg/util/managedfields imports
	k8s.io/kube-openapi/pkg/util/proto tested by
	k8s.io/kube-openapi/pkg/util/proto.test imports
	github.com/onsi/ginkgo/v2: github.com/go-openapi/[email protected]: verifying go.mod: checksum mismatch
	downloaded: h1:2OpW+JddWPrpXSCIX8eOx7lZ5iyuWj3RYR6VaaBKcWA=
	sum.golang.org: h1:QbfOSIVt3/sac+a1wzmKbbcLXm5NdZnyBZYtCijp43o=

构建go mod过程中出现这种错误

from categraf.

kongfei605 avatar kongfei605 commented on September 14, 2024

这个是命令错了吧? 或者是你的go proxy需要认证

from categraf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.