Merge pull request #10654 from nikhiljindal/getToPostClient

Updating kubectl to use POST instead of GET for port-forward and exec
This commit is contained in:
Yu-Ju Hong
2015-07-06 10:54:27 -07:00
4 changed files with 22 additions and 48 deletions

View File

@@ -169,7 +169,7 @@ func RunExec(f *cmdutil.Factory, cmd *cobra.Command, cmdIn io.Reader, cmdOut, cm
return err
}
req := client.RESTClient.Get().
req := client.RESTClient.Post().
Resource("pods").
Name(pod.Name).
Namespace(namespace).