packages/kubo: fix patching
This commit is contained in:
parent
4b68fe8310
commit
fc947fc9b3
1 changed files with 3 additions and 3 deletions
|
@ -1,11 +1,11 @@
|
||||||
diff --git a/core/coreapi/coreapi.go b/core/coreapi/coreapi.go
|
diff --git a/core/coreapi/coreapi.go b/core/coreapi/coreapi.go
|
||||||
index 5b638826b..32747fe53 100644
|
index fb54917..9852989 100644
|
||||||
--- a/core/coreapi/coreapi.go
|
--- a/core/coreapi/coreapi.go
|
||||||
+++ b/core/coreapi/coreapi.go
|
+++ b/core/coreapi/coreapi.go
|
||||||
@@ -191,9 +191,6 @@ func (api *CoreAPI) WithOptions(opts ...options.ApiOption) (coreiface.CoreAPI, e
|
@@ -198,9 +198,6 @@ func (api *CoreAPI) WithOptions(opts ...options.ApiOption) (coreiface.CoreAPI, e
|
||||||
}
|
}
|
||||||
|
|
||||||
subApi.checkPublishAllowed = func() error {
|
subAPI.checkPublishAllowed = func() error {
|
||||||
- if n.Mounts.Ipns != nil && n.Mounts.Ipns.IsActive() {
|
- if n.Mounts.Ipns != nil && n.Mounts.Ipns.IsActive() {
|
||||||
- return errors.New("cannot manually publish while IPNS is mounted")
|
- return errors.New("cannot manually publish while IPNS is mounted")
|
||||||
- }
|
- }
|
||||||
|
|
Loading…
Reference in a new issue