acoustic-carpenter-78188
10/02/2023, 12:52 AM$ flytectl get project
--------------- --------------- ---------------------------
| ID | NAME | DESCRIPTION |
--------------- --------------- ---------------------------
| flyteexamples | flyteexamples | flyteexamples description |
--------------- --------------- ---------------------------
| flytetester | flytetester | flytetester description |
--------------- --------------- ---------------------------
| flytesnacks | woopidoo | oops2 |
--------------- --------------- ---------------------------
3 rows
$ flytectl update project --id flytesnacks --archive
Project flytesnacks updated
$ flytectl get project
--------------- --------------- ---------------------------
| ID | NAME | DESCRIPTION |
--------------- --------------- ---------------------------
| flyteexamples | flyteexamples | flyteexamples description |
--------------- --------------- ---------------------------
| flytetester | flytetester | flytetester description |
--------------- --------------- ---------------------------
2 rows
$ flytectl update project --id flytesnacks --description "bananas"
Project flytesnacks updated
$ flytectl get project
--------------- --------------- ---------------------------
| ID | NAME | DESCRIPTION |
--------------- --------------- ---------------------------
| flyteexamples | flyteexamples | flyteexamples description |
--------------- --------------- ---------------------------
| flytetester | flytetester | flytetester description |
--------------- --------------- ---------------------------
| flytesnacks | woopidoo | bananas |
--------------- --------------- ---------------------------
3 rows
Expected behavior
Objects should stay in whatever state they were prior to update.
Additional context to reproduce
1. Archive an object.
2. Update any property except state (e.g., do not use --activate or --archive flags).
3. Get the object and see that its state changed to active.
Screenshots
No response
Are you sure this issue hasn't been raised already?
☑︎ Yes
Have you read the Code of Conduct?
☑︎ Yes
flyteorg/flyteacoustic-carpenter-78188
11/01/2023, 6:00 AM