Skip to content

Commit b31d70f

Browse files
committed
Lint: fix SA9004 of staticcheck caddyserver#2541
1 parent fd3441c commit b31d70f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

plugins.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -268,10 +268,10 @@ type EventName string
268268
// Define names for the various events
269269
const (
270270
StartupEvent EventName = "startup"
271-
ShutdownEvent = "shutdown"
272-
CertRenewEvent = "certrenew"
273-
InstanceStartupEvent = "instancestartup"
274-
InstanceRestartEvent = "instancerestart"
271+
ShutdownEvent EventName = "shutdown"
272+
CertRenewEvent EventName = "certrenew"
273+
InstanceStartupEvent EventName = "instancestartup"
274+
InstanceRestartEvent EventName = "instancerestart"
275275
)
276276

277277
// EventHook is a type which holds information about a startup hook plugin.

0 commit comments

Comments
 (0)