Skip to content

Commit 55d0682

Browse files
author
Moriarty
committed
chore: code review feedback
Signed-off-by: Moriarty <moritz@animo.id>
1 parent 89c206b commit 55d0682

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

Endorser.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Endorsement:
5656
For Authors, specify whether to automatically create transactions for a cred def's revocation registry. (If not specified, the controller must invoke the endpoints required to create
5757
the revocation registry and assign to the cred def.) [env var: ACAPY_CREATE_REVOCATION_TRANSACTIONS]
5858
--auto-promote-author-did
59-
For Authors, specify whether to automatically promote a DID to the wallet public DID after writing to the ledger. [env var: ACAPY_PROMOTE_AUTHOR_DID]
59+
For Authors, specify whether to automatically promote a DID to the wallet public DID after writing to the ledger. [env var: ACAPY_AUTO_PROMOTE_AUTHOR_DID]
6060
```
6161

6262
## How Aca-py Handles Endorsements

aries_cloudagent/config/argparse.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313

1414
from configargparse import ArgumentParser, Namespace, YAMLConfigFileParser
1515

16-
from ..utils.tracing import trace_event
16+
from aries_cloudagent.utils.tracing import trace_event
1717

18-
from .error import ArgsParseError
19-
from .util import BoundedInt, ByteSize
18+
from aries_cloudagent.config.error import ArgsParseError
19+
from aries_cloudagent.config.util import BoundedInt, ByteSize
2020

21-
from .plugin_settings import PLUGIN_CONFIG_KEY
21+
from aries_cloudagent.config.plugin_settings import PLUGIN_CONFIG_KEY
2222

2323
CAT_PROVISION = "general"
2424
CAT_START = "start"
@@ -1837,7 +1837,7 @@ def add_arguments(self, parser: ArgumentParser):
18371837
parser.add_argument(
18381838
"--auto-promote-author-did",
18391839
action="store_true",
1840-
env_var="ACAPY_PROMOTE_AUTHOR_DID",
1840+
env_var="ACAPY_AUTO_PROMOTE_AUTHOR_DID",
18411841
help="For Authors, specify whether to automatically promote"
18421842
" a DID to the wallet public DID after writing to the ledger.",
18431843
)

0 commit comments

Comments
 (0)