code: func (n *Network) ReadPeerConfig(p *Peer) *fabricconfig.Core {
  	var core fabricconfig.Core
  	coreBytes, err := ioutil.ReadFile(n.PeerConfigPath(p))
  	Expect(err).NotTo(HaveOccurred())
  
  	err = yaml.Unmarshal(coreBytes, &core)
  	Expect(err).NotTo(HaveOccurred())
  
  	return &core
  }
docs: // ReadPeerConfig unmarshals a peer's core.yaml and returns an object
  // approximating its contents.