Skip to content

Commit fdce13b

Browse files
authored
fix: add json field tags to daemon (#32)
1 parent 21381d1 commit fdce13b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cmd/vela-docker/daemon.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ type (
2626
// enable experimental features
2727
Experimental bool
2828
// enables insecure registry communication
29-
InsecureRegistries []string
29+
InsecureRegistries []string `json:"insecure_registries"`
3030
// enables IPv6 networking
3131
IPV6 bool
3232
// enable setting the log level for the daemon
3333
LogLevel string `json:"log_level"`
3434
// enable setting the containers network MTU
3535
MTU int
3636
// enables setting a preferred Docker registry mirror
37-
RegistryMirrors []string
37+
RegistryMirrors []string `json:"registry_mirrors"`
3838
// used for translating the storage configuration
3939
Storage *Storage
4040
// enables setting custom storage options

0 commit comments

Comments
 (0)