Skip to content

Commit f9f5312

Browse files
committed
Revert "Add a wrapper to avoid a breaking change"
Signed-off-by: sheidkamp <[email protected]>
1 parent 7703c43 commit f9f5312

File tree

1 file changed

+1
-6
lines changed
  • pkg/utils/kubeutils/kubectl

1 file changed

+1
-6
lines changed

pkg/utils/kubeutils/kubectl/cli.go

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -402,12 +402,7 @@ func (c *Cli) Describe(ctx context.Context, namespace string, name string) (stri
402402
}
403403

404404
// GetContainerLogs retrieves the logs for the specified container
405-
func (c *Cli) GetContainerLogs(ctx context.Context, namespace string, name string) (string, error) {
406-
return c.GetContainerLogsWithOptions(ctx, namespace, name)
407-
}
408-
409-
// GetContainerLogsWithOptions retrieves the logs for the specified container with the specified options
410-
func (c *Cli) GetContainerLogsWithOptions(ctx context.Context, namespace string, name string, options ...LogOption) (string, error) {
405+
func (c *Cli) GetContainerLogs(ctx context.Context, namespace string, name string, options ...LogOption) (string, error) {
411406
args := []string{"-n", namespace, "logs", name}
412407
args = append(args, BuildLogArgs(options...)...)
413408
stdout, stderr, err := c.Execute(ctx, args...)

0 commit comments

Comments
 (0)