We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug
We have multiple locations where we execute commands within a pod and log the command output:
[pkg/function/backup_data_stats.go] var stdout, stderr bytes.Buffer err = commandExecutor.Exec(ctx, cmd, nil, &stdout, &stderr) format.LogWithCtx(ctx, pod.Name, pod.Spec.Containers[0].Name, stdout.String()) format.LogWithCtx(ctx, pod.Name, pod.Spec.Containers[0].Name, stderr.String())
It would be nice to refactor these places and reuse duplicated code.
The text was updated successfully, but these errors were encountered:
I would like to work on this issue !!
Sorry, something went wrong.
No branches or pull requests
Describe the bug
We have multiple locations where we execute commands within a pod and log the command output:
It would be nice to refactor these places and reuse duplicated code.
The text was updated successfully, but these errors were encountered: