ipfs / ipfs/kubo

pin update $cid $cid yields no error when $cid is not pinned

Open
#7,745 3 comments 0 reactions 0 assignees View on GitHub
kind/bug status/ready
Dominant language
Go
Stars
17.1k
Forks
3.2k
Avg merge
3d 18h
Merged PRs (30d)
11

Description

#### Version information:
go-ipfs version: 0.7.0-ea77213e3
Repo version: 10
System version: amd64/linux
Golang version: go1.15.2

#### Description:
`ipfs pin update $cidA $cidA`
gives no error and even states the update was successful even though $cidA is not pinned.
As opposed to
`ipfs pin update $cidA $cidB`
where you get the error `'from' cid was not recursively pinned already`

Relevant issue #6648

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.