Skip to content
This repository was archived by the owner on Jan 20, 2021. It is now read-only.

Commit 4406ff8

Browse files
author
Simon Stone
authored
Merge pull request #165 from lesleyannjordan/laj_master
[164] Allow hyphen in MSP name
2 parents 483c3bd + 05d7c7b commit 4406ff8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tasks/manage-channel/update-channel.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
set -o pipefail &&
4040
jq
4141
--argjson msp '{{ lookup('template', 'manage-channel/fabric-msp.json.j2') | to_json }}'
42-
'.channel_group.groups.Application.groups.{{ member.msp.id }} = $msp'
42+
'.channel_group.groups.Application.groups."{{ member.msp.id }}" = $msp'
4343
{{ tempdir.path }}/updated_config.json |
4444
sponge {{ tempdir.path }}/updated_config.json
4545
args:
@@ -54,7 +54,7 @@
5454
set -o pipefail &&
5555
jq
5656
--argjson anchorPeers '{{ lookup('template', 'manage-channel/fabric-anchor-peers.json.j2') | to_json }}'
57-
'.channel_group.groups.Application.groups.{{ member.msp.id }}.values.AnchorPeers = $anchorPeers'
57+
'.channel_group.groups.Application.groups."{{ member.msp.id }}".values.AnchorPeers = $anchorPeers'
5858
{{ tempdir.path }}/updated_config.json |
5959
sponge {{ tempdir.path }}/updated_config.json
6060
args:

tasks/manage-consortium.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
set -o pipefail &&
3939
jq
4040
--argjson msp '{{ lookup('template', 'manage-consortium/fabric-msp.json.j2') | to_json }}'
41-
'.channel_group.groups.Consortiums.groups.SampleConsortium.groups.{{ member.msp.id }} = $msp'
41+
'.channel_group.groups.Consortiums.groups.SampleConsortium.groups."{{ member.msp.id }}" = $msp'
4242
{{ tempdir.path }}/updated_config.json |
4343
sponge {{ tempdir.path }}/updated_config.json
4444
args:

0 commit comments

Comments
 (0)