From e40bcf1c4ec4ea5bacba26ba730aedfd09416f17 Mon Sep 17 00:00:00 2001 From: Bablzz Date: Fri, 2 Oct 2020 16:11:49 +0300 Subject: [PATCH] fix: fixed typos --- container.go | 2 +- wait/log.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/container.go b/container.go index 748c363b1f..c4cfc0ab2e 100644 --- a/container.go +++ b/container.go @@ -114,7 +114,7 @@ func (t ProviderType) GetProvider() (GenericProvider, error) { return nil, errors.New("unknown provider") } -// Validate ensures that the ContainerRequest does not have invalid paramters configured to it +// Validate ensures that the ContainerRequest does not have invalid parameters configured to it // ex. make sure you are not specifying both an image as well as a context func (c *ContainerRequest) Validate() error { diff --git a/wait/log.go b/wait/log.go index 8aa3050309..276c1a02f4 100644 --- a/wait/log.go +++ b/wait/log.go @@ -49,7 +49,7 @@ func (ws *LogStrategy) WithPollInterval(pollInterval time.Duration) *LogStrategy } func (ws *LogStrategy) WithOccurrence(o int) *LogStrategy { - // the number of occurence needs to be positive + // the number of occurrence needs to be positive if o <= 0 { o = 1 }