Skip to content

Commit

Permalink
fix: kubo in AgentVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
lidel committed Jul 6, 2022
1 parent 80b91c0 commit fe1c383
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions version.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ var CurrentCommit string
// CurrentVersionNumber is the current application's version literal
const CurrentVersionNumber = "0.14.0-dev"

const ApiVersion = "/go-ipfs/" + CurrentVersionNumber + "/"
const ApiVersion = "/kubo/" + CurrentVersionNumber + "/"

// GetUserAgentVersion is the libp2p user agent used by go-ipfs.
//
// Note: This will end in `/` when no commit is available. This is expected.
func GetUserAgentVersion() string {
userAgent := "go-ipfs/" + CurrentVersionNumber + "/" + CurrentCommit
userAgent := "kubo/" + CurrentVersionNumber + "/" + CurrentCommit
if userAgentSuffix != "" {
if CurrentCommit != "" {
userAgent += "/"
Expand Down

0 comments on commit fe1c383

Please sign in to comment.