We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4fd6fa4 commit b462816Copy full SHA for b462816
pkg/util/arangod/cleanout_server.go
@@ -41,9 +41,9 @@ func (s CleanoutJobStatus) IsFailed() bool {
41
return s.state == "Failed"
42
}
43
44
-// IsDone returns true when the job is finished
45
-func (s CleanoutJobStatus) IsDone() bool {
46
- return s.state == "Done"
+// IsFinished returns true when the job is finished
+func (s CleanoutJobStatus) IsFinished() bool {
+ return s.state == "Finished"
47
48
49
// Reason returns the reason for the current state.
@@ -60,7 +60,7 @@ var (
60
agencyJobStateKeyPrefixes = [][]string{
61
{"arango", "Target", "ToDo"},
62
{"arango", "Target", "Pending"},
63
- {"arango", "Target", "Done"},
+ {"arango", "Target", "Finished"},
64
{"arango", "Target", "Failed"},
65
66
)
0 commit comments