Skip to content

Commit

Permalink
Merge pull request #642 from replicatedhq/xav/typos
Browse files Browse the repository at this point in the history
Small typo fix in collect.go
  • Loading branch information
edgarlanting committed Aug 2, 2022
2 parents 661bc3a + f06201e commit f6afe7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/preflight/collect.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ func Collect(opts CollectOpts, p *troubleshootv1beta2.Preflight) (CollectResult,

k8sClient, err := kubernetes.NewForConfig(opts.KubernetesRestConfig)
if err != nil {
return collectResult, errors.Wrap(err, "failed to instantiate kuberentes client")
return collectResult, errors.Wrap(err, "failed to instantiate Kubernetes client")
}

if err := collectors.CheckRBAC(context.Background()); err != nil {
Expand Down
2 changes: 1 addition & 1 deletion pkg/supportbundle/collect.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func runCollectors(collectors []*troubleshootv1beta2.Collect, additionalRedactor

k8sClient, err := kubernetes.NewForConfig(opts.KubernetesRestConfig)
if err != nil {
return nil, errors.Wrap(err, "failed to instantiate kuberentes client")
return nil, errors.Wrap(err, "failed to instantiate Kubernetes client")
}

if err := cleanedCollectors.CheckRBAC(context.Background()); err != nil {
Expand Down

0 comments on commit f6afe7e

Please sign in to comment.