mirror of
https://github.com/replicatedhq/troubleshoot.git
synced 2026-04-15 07:16:34 +00:00
Merge pull request #642 from replicatedhq/xav/typos
Small typo fix in collect.go
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user