code: func (dp *MockStaticDiscoveryProvider) CreateLocalDiscoveryService(mspID string) (fab.DiscoveryService, error) {
  
  	if dp.customDiscoveryService != nil {
  		return dp.customDiscoveryService, nil
  	}
  
  	return NewMockDiscoveryService(dp.Error, dp.Peers...), nil
  }
docs: // CreateLocalDiscoveryService return local discovery service