Skip to content

Commit

Permalink
[DEVOPS-649] Change errors to lowercase
Browse files Browse the repository at this point in the history
  • Loading branch information
Julio Chana committed Jan 2, 2018
1 parent 4980dad commit ad43f23
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions pkg/failover/waiter.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func (r *RedisFailoverKubeClient) waitForPod(name string, namespace string, logg
}
}
case <-to:
return errors.New("Timeout waiting the condition")
return errors.New("timeout waiting the condition")
}
}
}
Expand All @@ -48,7 +48,7 @@ func (r *RedisFailoverKubeClient) waitForService(name string, namespace string,
return nil
}
case <-to:
return errors.New("Timeout waiting the condition")
return errors.New("timeout waiting the condition")
}
}
}
Expand All @@ -67,7 +67,7 @@ func (r *RedisFailoverKubeClient) waitForDeployment(name string, namespace strin
return nil
}
case <-to:
return errors.New("Timeout waiting the condition")
return errors.New("timeout waiting the condition")
}
}
}
Expand All @@ -86,7 +86,7 @@ func (r *RedisFailoverKubeClient) waitForStatefulset(name string, namespace stri
return nil
}
case <-to:
return errors.New("Timeout waiting the condition")
return errors.New("timeout waiting the condition")
}
}
}
Expand All @@ -111,7 +111,7 @@ func (r *RedisFailoverKubeClient) waitForPodDeletion(name string, namespace stri
return nil
}
case <-to:
return errors.New("Timeout waiting the condition")
return errors.New("timeout waiting the condition")
}
}
}
Expand All @@ -136,7 +136,7 @@ func (r *RedisFailoverKubeClient) waitForStatefulsetDeletion(name string, namesp
return nil
}
case <-to:
return errors.New("Timeout waiting the condition")
return errors.New("timeout waiting the condition")
}
}
}
Expand All @@ -161,7 +161,7 @@ func (r *RedisFailoverKubeClient) waitForDeploymentDeletion(name string, namespa
return nil
}
case <-to:
return errors.New("Timeout waiting the condition")
return errors.New("timeout waiting the condition")
}
}
}
Expand All @@ -186,7 +186,7 @@ func (r *RedisFailoverKubeClient) waitForServiceDeletion(name string, namespace
return nil
}
case <-to:
return errors.New("Timeout waiting the condition")
return errors.New("timeout waiting the condition")
}
}
}

0 comments on commit ad43f23

Please sign in to comment.