fix(instance-metadata): make Host not optional in JSON

This commit is contained in:
DevMiner 2024-08-27 19:35:54 +02:00
parent 290dadcbe7
commit 03e01548dc

View file

@ -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"`