cleaning up

mine
derailed 2019-05-30 11:55:00 -06:00
parent ada1d237d5
commit 406ca9cbbd
3 changed files with 3 additions and 7 deletions

View File

@ -103,9 +103,5 @@ func (s *Bench) load(path string) error {
return err
}
if err := yaml.Unmarshal(f, &s); err != nil {
return err
}
return nil
return yaml.Unmarshal(f, &s)
}

View File

@ -85,7 +85,7 @@ func (p *PortForward) Stop() {
close(p.stopChan)
}
// Start initiates a port foward session for a given pod and ports.
// Start initiates a port forward session for a given pod and ports.
func (p *PortForward) Start(path, co string, ports []string) (*portforward.PortForwarder, error) {
p.path, p.container, p.ports, p.age = path, co, ports, time.Now()

View File

@ -71,7 +71,7 @@ func (b *benchmark) init(base string) error {
return nil
}
func (b *benchmark) annuled() bool {
func (b *benchmark) annulled() bool {
return b.canceled
}