Skip to content

Commit

Permalink
fix typo (#677)
Browse files Browse the repository at this point in the history
  • Loading branch information
u2takey authored and k8s-ci-robot committed Jun 15, 2018
1 parent a73dacb commit 3648e63
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/controller.v2/controller_pod.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func (tc *TFJobController) reconcilePods(
podSlices := getPodSlices(pods, replicas, loggerForReplica(tfjob, rt))
for index, podSlice := range podSlices {
if len(podSlice) > 1 {
loggerForReplica(tfjob, rt).Warningf("We have to many pods for %s %d", rt, index)
loggerForReplica(tfjob, rt).Warningf("We have too many pods for %s %d", rt, index)
// TODO(gaocegege): Kill some pods.
} else if len(podSlice) == 0 {
loggerForReplica(tfjob, rt).Infof("Need to create new pod: %s-%d", rt, index)
Expand Down
2 changes: 1 addition & 1 deletion pkg/controller.v2/controller_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func (tc *TFJobController) reconcileServices(

for index, serviceSlice := range serviceSlices {
if len(serviceSlice) > 1 {
loggerForReplica(tfjob, rt).Warningf("We have to many services for %s %d", rt, index)
loggerForReplica(tfjob, rt).Warningf("We have too many services for %s %d", rt, index)
// TODO(gaocegege): Kill some services.
} else if len(serviceSlice) == 0 {
loggerForReplica(tfjob, rt).Infof("need to create new service: %s-%d", rt, index)
Expand Down

0 comments on commit 3648e63

Please sign in to comment.