Updating kubectl to use POST instead of GET

This commit is contained in:
nikhiljindal
2015-07-01 16:47:02 -07:00
parent 09df440b79
commit b38d8b18a5
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).