Commit c1e13b34 authored by Dawn Chen's avatar Dawn Chen

Fix a small regression on api server proxy after switch to v1beta3.

parent 563f2965
...@@ -115,7 +115,7 @@ func RunLog(f *cmdutil.Factory, out io.Writer, cmd *cobra.Command, args []string ...@@ -115,7 +115,7 @@ func RunLog(f *cmdutil.Factory, out io.Writer, cmd *cobra.Command, args []string
readCloser, err := client.RESTClient.Get(). readCloser, err := client.RESTClient.Get().
Prefix("proxy"). Prefix("proxy").
Resource("minions"). Resource("nodes").
Name(pod.Spec.Host). Name(pod.Spec.Host).
Suffix("containerLogs", namespace, podID, container). Suffix("containerLogs", namespace, podID, container).
Param("follow", strconv.FormatBool(follow)). Param("follow", strconv.FormatBool(follow)).
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment