cleaning up
parent
ada1d237d5
commit
406ca9cbbd
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue