Skip to content

Commit

Permalink
Rancher cloudprovider changes to accomodate k8s 1.11
Browse files Browse the repository at this point in the history
  • Loading branch information
Alena Prokharchyk committed Mar 1, 2019
1 parent 235ac73 commit 684a068
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/cloudprovider/providers/rancher/rancher.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,11 @@ func (c *CloudProvider) InstanceExistsByProviderID(pctx context.Context, rovider
return false, errors.New("InstanceExistsByProviderID not imeplemented")
}

// InstanceShutdownByProviderID returns true if the instance is in safe state to detach volumes
func (c *CloudProvider) InstanceShutdownByProviderID(ctx context.Context, providerID string) (bool, error) {
return false, cloudprovider.NotImplemented
}

// Clusters not supported
func (r *CloudProvider) Clusters() (cloudprovider.Clusters, bool) {
return nil, false
Expand Down

0 comments on commit 684a068

Please sign in to comment.