mirror of
https://github.com/versia-pub/versia-go.git
synced 2025-12-06 14:28:20 +01:00
fix(instance-metadata): make Host not optional in JSON
This commit is contained in:
parent
290dadcbe7
commit
03e01548dc
|
|
@ -28,7 +28,7 @@ type InstanceMetadata struct {
|
||||||
Description *string `json:"description,omitempty"`
|
Description *string `json:"description,omitempty"`
|
||||||
|
|
||||||
// Host is the hostname of the instance, including the port
|
// Host is the hostname of the instance, including the port
|
||||||
Host string `json:"host,omitempty"`
|
Host string `json:"host"`
|
||||||
|
|
||||||
// PublicKey is the public key of the instance
|
// PublicKey is the public key of the instance
|
||||||
PublicKey InstancePublicKey `json:"public_key"`
|
PublicKey InstancePublicKey `json:"public_key"`
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue