From 1294a87663ff06d0223f96ab0832235dd4c5c8e4 Mon Sep 17 00:00:00 2001 From: Kelly Merrick Date: Tue, 6 Apr 2021 11:54:56 -0500 Subject: [PATCH] fix: add json field tags to daemon --- cmd/vela-docker/daemon.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/vela-docker/daemon.go b/cmd/vela-docker/daemon.go index d0e05b4..6e79570 100644 --- a/cmd/vela-docker/daemon.go +++ b/cmd/vela-docker/daemon.go @@ -26,7 +26,7 @@ type ( // enable experimental features Experimental bool // enables insecure registry communication - InsecureRegistries []string + InsecureRegistries []string `json:"insecure_registries"` // enables IPv6 networking IPV6 bool // enable setting the log level for the daemon @@ -34,7 +34,7 @@ type ( // enable setting the containers network MTU MTU int // enables setting a preferred Docker registry mirror - RegistryMirrors []string + RegistryMirrors []string `json:"registry_mirrors"` // used for translating the storage configuration Storage *Storage // enables setting custom storage options