Skip to content

Commit b7cf011

Browse files
committed
Fix TLS app field order
1 parent 8521bbf commit b7cf011

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/caddytls/tls.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ type TLS struct {
123123
//
124124
// EXPERIMENTAL: Subject to change.
125125
DNSRaw json.RawMessage `json:"dns,omitempty" caddy:"namespace=dns.providers inline_key=name"`
126-
dns any // technically, it should be any/all of the libdns interfaces (RecordSetter, RecordAppender, etc.)
127126

128127
// The default DNS resolvers to use for TLS-related DNS operations, specifically
129128
// for ACME DNS challenges and ACME server DNS validations.
@@ -132,6 +131,7 @@ type TLS struct {
132131
// EXPERIMENTAL: Subject to change.
133132
Resolvers []string `json:"resolvers,omitempty"`
134133

134+
dns any // technically, it should be any/all of the libdns interfaces (RecordSetter, RecordAppender, etc.)
135135
certificateLoaders []CertificateLoader
136136
automateNames map[string]struct{}
137137
ctx caddy.Context

0 commit comments

Comments
 (0)