Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions pkg/envconf/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
"sigs.k8s.io/e2e-framework/pkg/flags"
)

// Config represents and environment configuration
// Config represents the environment configuration
type Config struct {
client klient.Client
kubeconfig string
Expand Down Expand Up @@ -100,7 +100,7 @@ func (c *Config) KubeconfigFile() string {
return c.kubeconfig
}

// WithClient used to update the environment klient.Client
// WithClient updates the environment klient.Client
func (c *Config) WithClient(client klient.Client) *Config {
c.client = client
return c
Expand All @@ -112,7 +112,7 @@ func (c *Config) GetClient() klient.Client {
}

// NewClient is a constructor function that returns a previously
// created klient.Client or create a new one based on configuration
// created klient.Client or creates a new one based on configuration
// previously set. Will return an error if unable to do so.
func (c *Config) NewClient() (klient.Client, error) {
if c.client != nil {
Expand Down Expand Up @@ -258,7 +258,7 @@ func (c *Config) WithFailFast() *Config {
return c
}

// FailFast indicate if the framework is running in fail fast mode. This
// FailFast indicates if the framework is running in fail fast mode. This
// controls the behavior of how the assessments and features are handled
// if a test encounters a failure result
func (c *Config) FailFast() bool {
Expand Down