In what area(s)?
/kind good-first-issue
/kind feature
Describe the feature:
When users run kn service update command with invalid options, nothing is changed. But in current implementation, kn prints the following output:
$ ./kn service update hello --max-scale -100
Waiting for service 'hello' to become ready ... OK
Service 'hello' updated in namespace 'default'.
IMO, this is a little confusing behavior. Kn should print unchanged when it changed nothing as kubectl does. I think we can implement this feature by comparing the generation before and after updating the service resource and returning changed/unchanged state (boolean).
$ ./kn service update hello --max-scale -100
Service 'hello' unchanged in namespace 'default'.
Can I take this, if you can accept this proposal?
In what area(s)?
/kind good-first-issue
/kind feature
Describe the feature:
When users run
kn service updatecommand with invalid options, nothing is changed. But in current implementation, kn prints the following output:IMO, this is a little confusing behavior. Kn should print
unchangedwhen it changed nothing as kubectl does. I think we can implement this feature by comparing the generation before and after updating the service resource and returning changed/unchanged state (boolean).Can I take this, if you can accept this proposal?