Commit 388f541d authored by Matthew Sykes's avatar Matthew Sykes
Browse files

[FAB-11050] Add OutputAnchorPeersUpdate command



Change-Id: Ia59615ea18727809ebe44c0c2c0b87cd544f2b1f
Signed-off-by: default avatarMatthew Sykes <sykesmat@us.ibm.com>
parent 505fb6a0
......@@ -45,3 +45,25 @@ func (c CreateChannelTx) Args() []string {
"-outputCreateChannelTx", c.OutputCreateChannelTx,
}
}
type OutputAnchorPeersUpdate struct {
ChannelID string
Profile string
ConfigPath string
AsOrg string
OutputAnchorPeersUpdate string
}
func (o OutputAnchorPeersUpdate) SessionName() string {
return "configtxgen-output-anchor-peers-update"
}
func (o OutputAnchorPeersUpdate) Args() []string {
return []string{
"-channelID", o.ChannelID,
"-profile", o.Profile,
"-configPath", o.ConfigPath,
"-asOrg", o.AsOrg,
"-outputAnchorPeersUpdate", o.OutputAnchorPeersUpdate,
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment