Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
go-sectorbuilder
Commits
86b70710
Commit
86b70710
authored
Nov 01, 2019
by
Whyrusleeping
Committed by
Erin Swenson-Healey
Nov 01, 2019
Browse files
export sector status labels array (#42)
parent
06775780
Changes
1
Show whitespace changes
Inline
Side-by-side
sealing_state/state.go
View file @
86b70710
...
...
@@ -16,7 +16,7 @@ const (
PreCommittingPaused
// sector was paused during pre-commit
)
var
l
abels
=
[
...
]
string
{
var
L
abels
=
[
...
]
string
{
"Unknown"
,
"AcceptingPieces"
,
"Committed"
,
...
...
@@ -30,5 +30,5 @@ var labels = [...]string{
}
func
(
el
State
)
String
()
string
{
return
l
abels
[
el
]
return
L
abels
[
el
]
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment