From 03e01548dc63fc6740e6ae076e4bf4f6ed6dfc7b Mon Sep 17 00:00:00 2001 From: DevMiner Date: Tue, 27 Aug 2024 19:35:54 +0200 Subject: [PATCH] fix(instance-metadata): make Host not optional in JSON --- pkg/versia/instance_metadata.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/versia/instance_metadata.go b/pkg/versia/instance_metadata.go index 0ed0964..c8e70f5 100644 --- a/pkg/versia/instance_metadata.go +++ b/pkg/versia/instance_metadata.go @@ -28,7 +28,7 @@ type InstanceMetadata struct { Description *string `json:"description,omitempty"` // 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 InstancePublicKey `json:"public_key"`