Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Panic on Ctrl-D on ipfs add #4436

Closed
Stebalien opened this issue Nov 29, 2017 · 1 comment
Closed

Panic on Ctrl-D on ipfs add #4436

Stebalien opened this issue Nov 29, 2017 · 1 comment
Assignees
Labels
kind/bug A bug in existing code (including security flaws) panic topic/commands:add Topic commands:add topic/commands Topic commands

Comments

@Stebalien
Copy link
Member

To reproduce:

> ipfs add
^D

Result:

ipfs: Reading from /dev/stdin; send Ctrl-d to stop.
panic: interface conversion: interface {} is map[string]interface {}, not *coreunix.AddedObject

goroutine 42 [running]:
github.com/ipfs/go-ipfs/core/commands.glob..func7.1(0xc420076960)
	/home/steb/projects/go/src/github.com/ipfs/go-ipfs/core/commands/add.go:390 +0x9fc
created by github.com/ipfs/go-ipfs/core/commands.glob..func7.2
	/home/steb/projects/go/src/github.com/ipfs/go-ipfs/core/commands/add.go:449 +0x181
@Stebalien Stebalien added kind/bug A bug in existing code (including security flaws) topic/commands Topic commands topic/commands:add Topic commands:add panic labels Nov 29, 2017
@Stebalien Stebalien mentioned this issue Dec 12, 2017
5 tasks
@Stebalien
Copy link
Member Author

Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug A bug in existing code (including security flaws) panic topic/commands:add Topic commands:add topic/commands Topic commands
Projects
None yet
Development

No branches or pull requests

2 participants