Skip to content

Commit d30e71f

Browse files
committed
fix: kubo in daemon and cli stdout
1 parent 639155c commit d30e71f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

cmd/ipfs/daemon.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -923,7 +923,7 @@ func printVersion() {
923923
if version.CurrentCommit != "" {
924924
v += "-" + version.CurrentCommit
925925
}
926-
fmt.Printf("go-ipfs version: %s\n", v)
926+
fmt.Printf("Kubo version: %s\n", v)
927927
fmt.Printf("Repo version: %d\n", fsrepo.RepoVersion)
928928
fmt.Printf("System version: %s\n", runtime.GOARCH+"/"+runtime.GOOS)
929929
fmt.Printf("Golang version: %s\n", runtime.Version())

core/commands/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ var VersionCmd = &cmds.Command{
4646
if version.Commit != "" {
4747
ver += "-" + version.Commit
4848
}
49-
out := fmt.Sprintf("go-ipfs version: %s\n"+
49+
out := fmt.Sprintf("Kubo version: %s\n"+
5050
"Repo version: %s\nSystem version: %s\nGolang version: %s\n",
5151
ver, version.Repo, version.System, version.Golang)
5252
fmt.Fprint(w, out)

test/sharness/t0010-basic-commands.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ test_expect_success "ipfs versions matches ipfs --version" '
3535

3636
test_expect_success "ipfs version --all has all required fields" '
3737
ipfs version --all > version_all.txt &&
38-
grep "go-ipfs version" version_all.txt &&
38+
grep "Kubo version" version_all.txt &&
3939
grep "Repo version" version_all.txt &&
4040
grep "System version" version_all.txt &&
4141
grep "Golang version" version_all.txt

0 commit comments

Comments
 (0)