mirror of
https://github.com/caddyserver/caddy.git
synced 2025-08-11 09:16:26 -04:00
fmt
Signed-off-by: Mohammed Al Sahaf <msaa1990@gmail.com>
This commit is contained in:
parent
07ad9534fb
commit
9f586657e8
@ -122,7 +122,6 @@ func TestPreferOrder(t *testing.T) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
func TestValidate(t *testing.T) {
|
func TestValidate(t *testing.T) {
|
||||||
type testCase struct {
|
type testCase struct {
|
||||||
name string
|
name string
|
||||||
|
@ -1117,8 +1117,6 @@ func TestNetWriter_WALBufferingDuringOutage(t *testing.T) {
|
|||||||
t.Fatalf("WAL directory was not created: %s", walDir)
|
t.Fatalf("WAL directory was not created: %s", walDir)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Store outage messages that might have been received before failure
|
// Store outage messages that might have been received before failure
|
||||||
server.mu.RLock()
|
server.mu.RLock()
|
||||||
preRestartMessages := append([]string(nil), server.messages...)
|
preRestartMessages := append([]string(nil), server.messages...)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user