Open lattwood opened 2 months ago
Ha! Our internal style guide says to use the American spelling canceled
but our team is spread across several countries and spelling habits die hard. In doc strings (which is most of the cases) it's not such a big deal. But I know the constant DeploymentStatusCanceled
is spelled with two L's and that's persisted in the state store, so changing that at this point would involve a state migration. :facepalm:
🇬🇧
@tgross I got a chuckle out of EvalStatusCancelled = "canceled"
:D
Nomad version
N/A
Issue
I was digging into an unrelated issue around canceled evals and deployments, and discovered the use of inconsistent spelling for canceled!
I would recommend going with
canceled
, ascontext.Canceled
is used from thecontext
package in the GO standard library.Reproduction steps
See above
Expected Result
Actual Result
See above