clockworklabs / SpacetimeDB

Multiplayer at the speed of light
https://spacetimedb.com
Other
4.41k stars 110 forks source link

CLI - Fix `spacetime server edit` failing on renames #1877

Closed bfops closed 1 month ago

bfops commented 1 month ago

Description of Changes

spacetime server edit had a bug during renames, where it would try to access the server config by the old name, causing an error.

This must have been broken for a long time. The code has been in this state for a while, looks like about a year from the git history (a1e9984840ff60d77023f04927e50929cc7e0102).

API and ABI breaking changes

No. Bugfix.

Expected complexity level and risk

1

Testing

I added a smoketest.