code: func (sub *Subscription) HandleChaincodeDeploy(chaincodeDefinition *cceventmgmt.ChaincodeDefinition, dbArtifactsTar []byte) error {
  	Logger.Debug("Channel", sub.channel, "got a new deployment:", chaincodeDefinition)
  	sub.Lock()
  	defer sub.Unlock()
  	sub.pendingUpdates = append(sub.pendingUpdates, chaincodeDefinition)
  	return nil
  }
docs: // HandleChaincodeDeploy is expected to be invoked when a chaincode is deployed via a deploy transaction and the chaicndoe was already
  // installed on the peer. This also gets invoked when an already deployed chaincode is installed on the peer