kubernetes/pkg/kubectl/resource
k8s-merge-robot f1ccc2f1be Merge pull request #26354 from csrwng/fix_visitor_error
Automatic merge from submit-queue

kubectl: fix URLVisitor error message

The status of a failed fetch will usually include the code, resulting in a duplicate code in the error message:
```
unable to read URL "http://git:8080/ruby-hello-world.git", server reported 401 401 Unauthorized
```

This change rearranges them so at least the message doesn't stutter (and includes the code in case it's not part of the status):
```
unable to read URL "http://git:8080/ruby-hello-world.git", server reported 401 Unauthorized, status code 401
```

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-06-09 02:43:27 -07:00
..
builder_test.go Fix tests for renegotiation 2016-05-12 08:21:11 +02:00
builder.go Address PR comments 2 2016-05-09 16:23:15 -07:00
doc.go Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00
helper_test.go Fix tests for renegotiation 2016-05-12 08:21:11 +02:00
helper.go Can't replace a generic resource that is cluster scoped 2016-02-12 16:20:37 -05:00
interfaces.go Move restclient to its own package 2016-02-29 12:05:13 -08:00
mapper.go Merge pull request #25894 from brendandburns/thirdparty-watch 2016-06-04 15:42:41 -07:00
result.go Remove runtime.Typer, reduce to ObjectKinds(1) (3) 2016-05-21 23:55:42 -04:00
selector.go Add the client side bits of kubectl export 2015-12-22 10:41:59 -08:00
visitor_test.go Address PR comments 2 2016-05-09 16:23:15 -07:00
visitor.go Fix URLVisitor error message 2016-05-26 09:20:42 -04:00