From 09c9936b7763c643f80189136111ea211d940a61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Torres?= Date: Wed, 4 Oct 2023 12:46:03 +0200 Subject: [PATCH] bugfix: the fabric tools image is a problem because they have changed the location of the FABRIC_CONFIG folder from /etc/hyperledger/fabric to /var/hyperledger/fabric/config/ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andrés Torres --- internal/blockchain/fabric/fabric_provider.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/blockchain/fabric/fabric_provider.go b/internal/blockchain/fabric/fabric_provider.go index 01fb168d..b36535c0 100644 --- a/internal/blockchain/fabric/fabric_provider.go +++ b/internal/blockchain/fabric/fabric_provider.go @@ -124,7 +124,7 @@ func (p *FabricProvider) FirstTimeSetup() error { "--platform", getDockerPlatform(), "--rm", "-v", fmt.Sprintf("%s:/etc/firefly", volumeName), - "-v", fmt.Sprintf("%s:/etc/hyperledger/fabric/configtx.yaml", path.Join(blockchainDirectory, "configtx.yaml")), + "-v", fmt.Sprintf("%s:/var/hyperledger/fabric/config/configtx.yaml", path.Join(blockchainDirectory, "configtx.yaml")), FabricToolsImageName, "configtxgen", "-outputBlock", "/etc/firefly/firefly.block",