Skip to content

Commit

Permalink
Merge pull request #3 from mikejoh/fix-typos
Browse files Browse the repository at this point in the history
Fix typos
  • Loading branch information
k8s-ci-robot authored Apr 17, 2023
2 parents c7e13e3 + 61ec683 commit 432499c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/provider/instances.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ var errNodeNotFound = errors.New("node not found")

// InstanceExists returns true if the instance for the given node exists according to the cloud provider.
func (c *cloud) InstanceExists(ctx context.Context, node *v1.Node) (bool, error) {
klog.V(2).Infof("Check if instace %s exists", node.Name)
klog.V(2).Infof("Check if instance %s exists", node.Name)
_, err := c.findNodeByName(node.Name)
if err == nil {
return true, nil
Expand All @@ -30,7 +30,7 @@ func (c *cloud) InstanceExists(ctx context.Context, node *v1.Node) (bool, error)

// InstanceShutdown returns true of the container doesn't exist
func (c *cloud) InstanceShutdown(ctx context.Context, node *v1.Node) (bool, error) {
klog.V(2).Infof("Check if instace %s is shutdown", node.Name)
klog.V(2).Infof("Check if instance %s is shutdown", node.Name)
_, err := c.findNodeByName(node.Name)
if err == nil {
return false, nil
Expand All @@ -44,7 +44,7 @@ func (c *cloud) InstanceShutdown(ctx context.Context, node *v1.Node) (bool, erro
// InstanceMetadata returns the instance's metadata. The values returned in InstanceMetadata are
// translated into specific fields and labels in the Node object on registration.
func (c *cloud) InstanceMetadata(ctx context.Context, node *v1.Node) (*cloudprovider.InstanceMetadata, error) {
klog.V(2).Infof("Check instace metadata for %s", node.Name)
klog.V(2).Infof("Check instance metadata for %s", node.Name)
n, err := c.findNodeByName(node.Name)
if err != nil {
return nil, err
Expand Down

0 comments on commit 432499c

Please sign in to comment.