joyent / conch-api

Datacenter build and management service
Mozilla Public License 2.0
22 stars 11 forks source link

Reconcile Relay.Alias and WorkspaceRelays.[].Name #870

Closed sungo closed 5 years ago

sungo commented 5 years ago

The Relay json response from the API has an alias property. The WorkspaceRelays json response contains an array of elements that have a property called name.

In the database, the relay table has a name field but no alias field.

I think the Relay response should have its alias property renamed to name.

karenetheridge commented 5 years ago

You are mistaken. In v2, Relay and WorkspaceRelays both used alias, and in v3 both switched to name (this was in commit d9f2b190ac).