From e3f754a848aaa78148a75bc1aede1534d31e5c34 Mon Sep 17 00:00:00 2001 From: Rod Vagg Date: Tue, 31 Oct 2023 21:24:07 +1100 Subject: [PATCH] fix: remove unnecessary lotus CLI arguments --- cmd/motion/main.go | 14 -------------- docker-compose.yml | 2 -- integration/test/motionlarity/docker-compose.yaml | 2 -- 3 files changed, 18 deletions(-) diff --git a/cmd/motion/main.go b/cmd/motion/main.go index 6fbf78c..48fe34e 100644 --- a/cmd/motion/main.go +++ b/cmd/motion/main.go @@ -61,20 +61,6 @@ func main() { DefaultText: "No deals are made to replicate data onto storage providers.", EnvVars: []string{"MOTION_STORAGE_PROVIDERS"}, }, - &cli.StringFlag{ - Name: "lotusApi", - Category: "Lotus", - Usage: "Lotus RPC API endpoint", - Value: "https://api.node.glif.io/rpc/v1", - EnvVars: []string{"LOTUS_API"}, - }, - &cli.StringFlag{ - Name: "lotusToken", - Category: "Lotus", - Usage: "Lotus RPC API token", - Value: "", - EnvVars: []string{"LOTUS_TOKEN"}, - }, &cli.BoolFlag{ Name: "lotus-test", Category: "Lotus", diff --git a/docker-compose.yml b/docker-compose.yml index 8b0600a..880c191 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -119,8 +119,6 @@ services: environment: - MOTION_STORE_DIR=/usr/src/app/storage - LOTUS_TEST - - LOTUS_API - - LOTUS_TOKEN - MOTION_STORAGE_PROVIDERS - MOTION_PRICE_PER_GIB_EPOCH - MOTION_PRICE_PER_GIB diff --git a/integration/test/motionlarity/docker-compose.yaml b/integration/test/motionlarity/docker-compose.yaml index dbfb154..246fcd2 100644 --- a/integration/test/motionlarity/docker-compose.yaml +++ b/integration/test/motionlarity/docker-compose.yaml @@ -140,8 +140,6 @@ services: environment: - MOTION_STORE_DIR=/usr/src/app/storage - LOTUS_TEST - - LOTUS_API - - LOTUS_TOKEN - MOTION_STORAGE_PROVIDERS - MOTION_PRICE_PER_GIB_EPOCH - MOTION_PRICE_PER_GIB