Skip to content

Commit

Permalink
fix indentations
Browse files Browse the repository at this point in the history
  • Loading branch information
szepeviktor committed May 10, 2024
1 parent 2d664d2 commit b4d405e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion caddytest/caddytest.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ type Defaults struct {
// Default testing values
var Default = Defaults{
AdminPort: 2999, // different from what a real server also running on a developer's machine might be
Certificates: []string{"/caddy.localhost.crt", "/caddy.localhost.key"},
Certificates: []string{"/caddy.localhost.crt", "/caddy.localhost.key"},
TestRequestTimeout: 5 * time.Second,
LoadRequestTimeout: 5 * time.Second,
}
Expand Down
8 changes: 4 additions & 4 deletions listeners.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,10 @@ func (na NetworkAddress) Listen(ctx context.Context, portOffset uint, config net

func (na NetworkAddress) listen(ctx context.Context, portOffset uint, config net.ListenConfig) (any, error) {
var (
ln any
err error
address string
unixFileMode fs.FileMode
ln any
err error
address string
unixFileMode fs.FileMode
isAbstractUnixSocket bool
)

Expand Down

0 comments on commit b4d405e

Please sign in to comment.