Browse Source

Fix test-commands and docker-compose example

Leszek Wiesner 3 years ago
parent
commit
c78bbad8f1
2 changed files with 2 additions and 1 deletions
  1. 1 0
      distributor-node/scripts/test-commands.sh
  2. 1 1
      docker-compose.yml

+ 1 - 0
distributor-node/scripts/test-commands.sh

@@ -20,6 +20,7 @@ ${CLI} leader:update-bag -b static:council -f ${FAMILY_ID} -a ${BUCKET_1_INDEX}
 # Test removing 2 buckets from bag at once
 ${CLI} leader:update-bag -b static:council -f ${FAMILY_ID} -r ${BUCKET_1_INDEX} ${BUCKET_2_INDEX}
 # Adding single bucket to all static bags
+${CLI} leader:update-bag -b static:council -f ${FAMILY_ID} -a ${BUCKET_1_INDEX}
 ${CLI} leader:update-bag -b static:wg:storage -f ${FAMILY_ID} -a ${BUCKET_1_INDEX}
 ${CLI} leader:update-bag -b static:wg:content -f ${FAMILY_ID} -a ${BUCKET_1_INDEX}
 ${CLI} leader:update-bag -b static:wg:operationsAlpha -f ${FAMILY_ID} -a ${BUCKET_1_INDEX}

+ 1 - 1
docker-compose.yml

@@ -76,7 +76,7 @@ services:
     #   JOYSTREAM_DISTRIBUTOR__LIMITS__STORAGE: 50G
     #   JOYSTREAM_DISTRIBUTOR__PORT: 1234
     #   JOYSTREAM_DISTRIBUTOR__KEYS: "[{\"suri\":\"//Bob\"}]"
-    #   JOYSTREAM_DISTRIBUTOR__BUCKETS: "[1,2]"
+    #   JOYSTREAM_DISTRIBUTOR__BUCKETS: "[\"1:0\",\"1:1\"]"
     #   JOYSTREAM_DISTRIBUTOR__WORKER_ID: 0
     command: ["start"]