From be3692725c4123498454f86c52008b194c247647 Mon Sep 17 00:00:00 2001 From: KV Date: Mon, 9 Sep 2024 19:49:28 +0200 Subject: [PATCH] style: rename MONERO_DAEMON_RPC_URL env to MONERO_DAEMON_URL --- .github/workflows/ci.yml | 2 +- test/integration/.env-test.example | 2 +- test/integration/daemon_test.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 45822f4..2916683 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: test: runs-on: ubuntu-latest env: - MONERO_DAEMON_RPC_ADDRESS: ${{ vars.DAEMON_URL }} + MONERO_DAEMON_URL: ${{ vars.DAEMON_URL }} strategy: fail-fast: false matrix: diff --git a/test/integration/.env-test.example b/test/integration/.env-test.example index e505813..0f39299 100644 --- a/test/integration/.env-test.example +++ b/test/integration/.env-test.example @@ -1 +1 @@ -MONERO_DAEMON_RPC_ADDRESS=http://localhost:18081 \ No newline at end of file +MONERO_DAEMON_URL=http://localhost:18081 \ No newline at end of file diff --git a/test/integration/daemon_test.go b/test/integration/daemon_test.go index 01a01a6..c0f8697 100644 --- a/test/integration/daemon_test.go +++ b/test/integration/daemon_test.go @@ -34,7 +34,7 @@ func initSimpleDaemonRpcClient(t *testing.T) daemon.IDaemonRpcClient { } func initDaemonRpcClientWithCreds(t *testing.T, username, password string) daemon.IDaemonRpcClient { - u, err := getUrlFromEnv("MONERO_DAEMON_RPC_ADDRESS") + u, err := getUrlFromEnv("MONERO_DAEMON_URL") if err != nil { t.Fatal(err) }