Skip to content

Commit 209a343

Browse files
committed
serverctl: fix a docstring
Release note: None
1 parent b1db60c commit 209a343

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pkg/server/serverctl/shutdown.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ func (r ShutdownRequest) ShutdownCause() error {
2222
}
2323
}
2424

25-
// Graceful determines whether the shutdown should be effected via a
26-
// graceful drain first.
25+
// TerminateUsingGracefulDrain determines whether the shutdown should
26+
// be effected via a graceful drain first.
2727
func (r ShutdownRequest) TerminateUsingGracefulDrain() bool {
2828
// As of this patch, none of the existing reasons for shutdown
2929
// can be correctly followed by a graceful drain.

0 commit comments

Comments
 (0)