client/pkg/kn/commands/service
Doug Davis 39b7313fb0 Improve error message (#486)
While testing I specified this on the `kn` command line:

```
./kn service create echo --concurrency-limit=1 --concurrency-target=1 --env foo=bar --limits-cpu=1000m --limits-memory=1024m --max-scale=1 --min-scale=1 --port=9999 --requests-cpu=250m --requests-memory=64mi --image duglin/echo
```
and it returned:
```
unable to parse quantity's suffix
```

I had no idea which value it didn't like. So this PR makes it so the output
is now this:
```
Error parsing "64mi": unable to parse quantity's suffix
```

Still not perfect since I still had to think way too hard to realize that it
didn't like the lower-case `m`, but that's a different issue.

Signed-off-by: Doug Davis <dug@us.ibm.com>
2019-11-06 13:21:03 -08:00
..
configuration_edit_flags.go Improve error message (#486) 2019-11-06 13:21:03 -08:00
create.go fix(service): Set default timeout for update to the same value as for create (#446) 2019-10-16 04:51:15 -07:00
create_mock_test.go Add support for envFrom and volumeMounts (#393) 2019-11-06 04:15:03 -08:00
create_test.go Vendors serving v0.9.0 (#458) 2019-10-27 22:22:36 -07:00
delete.go Rename go files under command group dir (#245) 2019-09-06 00:13:03 -07:00
delete_test.go Rename go files under command group dir (#245) 2019-09-06 00:13:03 -07:00
describe.go fix(service describe): Clarify URL labels (#460) 2019-11-05 21:11:02 -08:00
describe_test.go fix(service describe): Clarify URL labels (#460) 2019-11-05 21:11:02 -08:00
human_readable_flags.go add revision information to service list (#441) 2019-10-25 02:40:35 -07:00
list.go refactor(knclient): Moved KnClient -> KnServingClient (#420) 2019-09-28 09:21:45 -07:00
list_flags.go Rename go files under command group dir (#245) 2019-09-06 00:13:03 -07:00
list_flags_test.go Rename go files under command group dir (#245) 2019-09-06 00:13:03 -07:00
list_mock_test.go add revision information to service list (#441) 2019-10-25 02:40:35 -07:00
list_test.go add revision information to service list (#441) 2019-10-25 02:40:35 -07:00
service.go fix(service): Set default timeout for update to the same value as for create (#446) 2019-10-16 04:51:15 -07:00
service_test.go refactor(knclient): Moved KnClient -> KnServingClient (#420) 2019-09-28 09:21:45 -07:00
service_update_mock_test.go Add support for envFrom and volumeMounts (#393) 2019-11-06 04:15:03 -08:00
update.go fix(service): Set default timeout for update to the same value as for create (#446) 2019-10-16 04:51:15 -07:00
update_test.go Vendors serving v0.9.0 (#458) 2019-10-27 22:22:36 -07:00