Files
kubernetes/pkg
Kubernetes Submit Queue 490151ee50 Merge pull request #38181 from tanshanshan/remove-todo
Automatic merge from submit-queue (batch tested with PRs 38181, 38128, 36711)

Remove redundant conditional statement

<!--  Thanks for sending a pull request!  Here are some tips for you:
1. If this is your first time, read our contributor guidelines https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md and developer guide https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md
2. If you want *faster* PR reviews, read how: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/faster_reviews.md
3. Follow the instructions for writing a release note: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes
-->

**What this PR does / why we need it**:

1. remove redundant conditional statement
2. replace  errors.New(fmt.Sprintf with fmt.Errorf 

Thanks.

**Special notes for your reviewer**:

**Release note**:
<!--  Steps to write your release note:
1. Use the release-note-* labels to set the release note state (if you have access) 
2. Enter your extended release note in the below block; leaving it blank means using the PR title as the release note. If no release note is required, just write `NONE`. 
-->
```release-note
```
2016-12-07 03:09:30 -08:00
..
2016-11-23 22:30:47 -06:00
2016-11-23 22:30:47 -06:00
2016-10-21 17:32:32 -07:00
2016-12-06 11:14:59 -05:00
2016-11-23 15:53:09 -08:00
2016-11-23 15:53:09 -08:00
2016-10-21 17:32:32 -07:00
2016-12-06 10:32:54 -08:00
2016-10-21 17:32:32 -07:00
2016-10-21 17:32:32 -07:00
2016-11-23 15:53:09 -08:00
2016-10-21 17:32:32 -07:00
2016-11-23 15:53:09 -08:00
2016-10-21 17:32:32 -07:00
2016-12-03 19:10:46 -05:00
2016-11-23 15:53:09 -08:00
2016-11-23 15:53:09 -08:00
2016-10-21 17:32:32 -07:00
2016-11-23 15:53:09 -08:00
2016-10-21 17:32:32 -07:00
2016-10-24 14:41:56 -07:00
2016-11-23 22:30:47 -06:00