forked from TrueCloudLab/frostfs-node
[#1295] neofs-adm: Add contract group wallet to config template
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
82fda42316
commit
bc0c47738b
2 changed files with 3 additions and 1 deletions
|
@ -40,7 +40,8 @@ network:
|
|||
container_alias: {{ .ContainerAliasFee }}
|
||||
withdraw: {{ .WithdrawFee}}
|
||||
# if credentials section is omitted, then neofs-adm will require manual password input
|
||||
credentials:{{ range.Glagolitics}}
|
||||
credentials:
|
||||
contract: password # wallet for contract group signature{{ range.Glagolitics}}
|
||||
{{.}}: password{{end}}
|
||||
`
|
||||
|
||||
|
|
|
@ -39,6 +39,7 @@ func TestGenerateConfigExample(t *testing.T) {
|
|||
key := "credentials." + i.String()
|
||||
require.Equal(t, "password", v.GetString(key))
|
||||
}
|
||||
require.Equal(t, "password", v.GetString("credentials.contract"))
|
||||
|
||||
key := "credentials." + i.String()
|
||||
require.Equal(t, "", v.GetString(key))
|
||||
|
|
Loading…
Reference in a new issue