Commit 86b70710 authored by Whyrusleeping's avatar Whyrusleeping Committed by Erin Swenson-Healey
Browse files

export sector status labels array (#42)

parent 06775780
...@@ -16,7 +16,7 @@ const ( ...@@ -16,7 +16,7 @@ const (
PreCommittingPaused // sector was paused during pre-commit PreCommittingPaused // sector was paused during pre-commit
) )
var labels = [...]string{ var Labels = [...]string{
"Unknown", "Unknown",
"AcceptingPieces", "AcceptingPieces",
"Committed", "Committed",
...@@ -30,5 +30,5 @@ var labels = [...]string{ ...@@ -30,5 +30,5 @@ var labels = [...]string{
} }
func (el State) String() string { func (el State) String() string {
return labels[el] return Labels[el]
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment