Skip to content

Commit a46c37d

Browse files
nixprimegvisor-bot
authored andcommitted
runsc/cmd: set Statefile.Name() to "statefile"
Otherwise this command's name conflicts with that of State.Name(), making it inaccessible. PiperOrigin-RevId: 820452831
1 parent 923cb75 commit a46c37d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runsc/cmd/statefile.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ type Statefile struct {
3737

3838
// Name implements subcommands.Command.
3939
func (*Statefile) Name() string {
40-
return "state"
40+
return "statefile"
4141
}
4242

4343
// Synopsis implements subcommands.Command.

0 commit comments

Comments
 (0)