Skip to content

Commit b462816

Browse files
committed
Changed Done to Finished
1 parent 4fd6fa4 commit b462816

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pkg/util/arangod/cleanout_server.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ func (s CleanoutJobStatus) IsFailed() bool {
4141
return s.state == "Failed"
4242
}
4343

44-
// IsDone returns true when the job is finished
45-
func (s CleanoutJobStatus) IsDone() bool {
46-
return s.state == "Done"
44+
// IsFinished returns true when the job is finished
45+
func (s CleanoutJobStatus) IsFinished() bool {
46+
return s.state == "Finished"
4747
}
4848

4949
// Reason returns the reason for the current state.
@@ -60,7 +60,7 @@ var (
6060
agencyJobStateKeyPrefixes = [][]string{
6161
{"arango", "Target", "ToDo"},
6262
{"arango", "Target", "Pending"},
63-
{"arango", "Target", "Done"},
63+
{"arango", "Target", "Finished"},
6464
{"arango", "Target", "Failed"},
6565
}
6666
)

0 commit comments

Comments
 (0)