From 4790618a292b5d2c7b6ad788929484a07b48b767 Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Thu, 18 Jan 2024 17:26:54 +0100 Subject: [PATCH] chore: remove Gateway.APICommands Remove unused and undocumented gateway configuration field introduced in go-ipfs v0.4 --- config/gateway.go | 3 --- config/init.go | 1 - 2 files changed, 4 deletions(-) diff --git a/config/gateway.go b/config/gateway.go index 9c0830c506b..0ed07d7cdb9 100644 --- a/config/gateway.go +++ b/config/gateway.go @@ -53,9 +53,6 @@ type Gateway struct { // PathPrefixes was removed: https://github.com/ipfs/go-ipfs/issues/7702 PathPrefixes []string - // FIXME: Not yet implemented: https://github.com/ipfs/kubo/issues/8059 - APICommands []string - // NoFetch configures the gateway to _not_ fetch blocks in response to // requests. NoFetch bool diff --git a/config/init.go b/config/init.go index e4cb1e95a54..13d3b9b1961 100644 --- a/config/init.go +++ b/config/init.go @@ -68,7 +68,6 @@ func InitWithIdentity(identity Identity) (*Config, error) { NoFetch: false, PathPrefixes: []string{}, HTTPHeaders: map[string][]string{}, - APICommands: []string{}, }, Reprovider: Reprovider{ Interval: nil,