Skip to content

Commit

Permalink
Remove username and policy cli parameters
Browse files Browse the repository at this point in the history
Signed-off-by: Artem Barger <artem@bargr.net>
  • Loading branch information
C0rWin authored and denyeart committed Jan 12, 2024
1 parent 1f662e7 commit 713ece2
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions internal/peer/chaincode/chaincode.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,10 @@ var (
chaincodeCtorJSON string
chaincodePath string
chaincodeName string
chaincodeUsr string // Not used
chaincodeQueryRaw bool
chaincodeQueryHex bool
channelID string
chaincodeVersion string
policy string
transient string
isInit bool
peerAddresses []string
Expand Down Expand Up @@ -91,12 +89,8 @@ func resetFlags() {
"Name of the chaincode")
flags.StringVarP(&chaincodeVersion, "version", "v", common.UndefinedParamValue,
"Version of the chaincode specified in install/instantiate/upgrade commands")
flags.StringVarP(&chaincodeUsr, "username", "u", common.UndefinedParamValue,
"Username for chaincode operations when security is enabled")
flags.StringVarP(&channelID, "channelID", "C", "",
"The channel on which this command should be executed")
flags.StringVarP(&policy, "policy", "P", common.UndefinedParamValue,
"The endorsement policy associated to this chaincode")
flags.BoolVarP(&isInit, "isInit", "I", false,
"Is this invocation for init (useful for supporting legacy chaincodes in the new lifecycle)")
flags.StringArrayVarP(&peerAddresses, "peerAddresses", "", []string{common.UndefinedParamValue},
Expand Down

0 comments on commit 713ece2

Please sign in to comment.