Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions pkg/kubernetes/accesscontrol_clientset.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,11 @@ func (a *AccessControlClientset) NodesLogs(ctx context.Context, name, logPath st
return nil, fmt.Errorf("failed to get node %s: %w", name, err)
}

url := []string{"api", "v1", "nodes", name, "proxy", "logs", logPath}
url := []string{"api", "v1", "nodes", name, "proxy", "logs"}
return a.delegate.CoreV1().RESTClient().
Get().
AbsPath(url...), nil
AbsPath(url...).
Param("query", logPath), nil
}

func (a *AccessControlClientset) Pods(namespace string) (corev1.PodInterface, error) {
Expand Down