Red Hat Bugzilla – Bug 1030764
rhc domain update still works, even though it's deprecated
Last modified: 2015-05-14 22:26:13 EDT
Description of problem:
Running <rhc domain update DOMAIN1 DOMAIN2> still renames my domain, even though a big yellow warning comes up claiming it's deprecated.
Version-Release number of selected component (if applicable):
100% (of the three times I tried it)
Steps to Reproduce:
1. run <rhc domain update DOMAIN1 DOMAIN2> in the hopes of renaming a domain
2. Screen output is this:
[brice@localhost ~]$ rhc domain update bfallonf4 bfallonf3
Warning: This command is deprecated. Please use 'rhc domain-rename' instead.
Renaming domain 'bfallonf4' to 'bfallonf3' ... done
Actual results: Domain name is changed
Expected results: Domain shouldn't have been changed
Additional info: <rhc domain rename> still works. And when running <rhc domain --help> the help menu doesn't have <update> on it, meaning that it is indeed deprecated. The only reason I tried update was because I was going through the docs and they still said <update>... They have since been edited to say <rename>.
Deprecated means it still works, but will be removed at some point. As long as there's a warning, it's ok for it to still work.