Skip to content

Commit e8b04ac

Browse files
committed
fix control examples for remove validator
1 parent 4a90930 commit e8b04ac

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/examples.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ To remove a node as a permissioned validator from a Subnet:
477477
curl -X POST -k http://localhost:8081/v1/control/removesubnetvalidator -d '[{"subnetId": "'$SUBNET_ID'", "nodeNames":["node1"]}]'
478478

479479
# or
480-
avalanche-network-runner control remove-subnet-validator '[{"subnetId": "'$SUBNET_ID'", "nodeNames":["node1"]}]'
480+
avalanche-network-runner control remove-subnet-validator '[{"subnet_id": "'$SUBNET_ID'", "node_names":["node1"]}]'
481481
```
482482

483483
To delegate stake in a permissionless validator in an Elastic Subnet:

docs/reference.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ avalanche-network-runner control remove-subnet-validator removeValidatorSpec [op
558558
cli
559559
560560
```sh
561-
avalanche-network-runner control remove-subnet-validator '[{"subnetId": "p433wpuXyJiDhyazPYyZMJeaoPSW76CBZ2x7wrVPLgvokotXz", "nodeNames":["node1"]}]'
561+
avalanche-network-runner control remove-subnet-validator '[{"subnet_id": "p433wpuXyJiDhyazPYyZMJeaoPSW76CBZ2x7wrVPLgvokotXz", "node_names":["node1"]}]'
562562
```
563563
564564
curl

0 commit comments

Comments
 (0)