mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-11-28 03:47:34 +00:00
Add experimental API support to kubectl
This commit is contained in:
@@ -190,7 +190,7 @@ func RCFromManifest(fileName string) *api.ReplicationController {
|
||||
|
||||
// StopRC stops the rc via kubectl's stop library
|
||||
func StopRC(rc *api.ReplicationController, restClient *client.Client) error {
|
||||
reaper, err := kubectl.ReaperFor("ReplicationController", restClient)
|
||||
reaper, err := kubectl.ReaperFor("ReplicationController", restClient, nil)
|
||||
if err != nil || reaper == nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user