flyctl icon indicating copy to clipboard operation
flyctl copied to clipboard

`fly machine update` doesn't check if the machine is destroyed, and still tries to update it

Open lillianberryfly opened this issue 2 years ago • 0 comments

lillian test-fly-project % fly m update --env a=b e2865649cee358
Configuration changes to be applied to machine: e2865649cee358 (still-cherry-2893)

  	... // 2 identical lines
  	   "$ASDF": "true",
  	   "FLY_PROCESS_GROUP": "app",
- 	   "PRIMARY_REGION": "qmx"
+ 	   "PRIMARY_REGION": "qmx",
+ 	   "a": "b"
  	 },
  	 "init": {},
  	... // 76 identical lines
  	
? Apply changes? Yes
Updating machine e2865649cee358
Error: could not update machine e2865649cee358: failed to update VM e2865649cee358: not_found: machine not found

lillian test-fly-project % fly m status e2865649cee358
Machine ID: e2865649cee358
Instance ID: 01HB3ZBG6R6H2K1K9M5JY7JGFG
State: destroyed

lillianberryfly avatar Sep 24 '23 16:09 lillianberryfly