Fix nil dereference in kubectl run-container

This commit is contained in:
Jeff Lowdermlk
2015-01-14 16:58:12 -08:00
parent 8a764c02d5
commit e6e6092904
4 changed files with 84 additions and 20 deletions

View File

@@ -825,7 +825,7 @@ Examples:
$ kubectl run-container nginx --image=dockerfile/nginx --replicas=5
<starts a replicated instance of nginx>
$ kubectl run-container nginx --image=dockerfile/nginx --dry-run
<just print the corresponding API objects, don't actually send them to the apiserver>