Skip to content

Commit 165815f

Browse files
committed
Introduce a ctr wide constant
Signed-off-by: Hu Keping <hukeping@huawei.com>
1 parent b31b8a6 commit 165815f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

ctr/const.go

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
package main
2+
3+
// ctr wide constants
4+
const (
5+
// ExitStatusOK indicates successful completion
6+
ExitStatusOK = 0
7+
8+
// ExitStatusMissingArg indicates failure due to missing argument(s)
9+
ExitStatusMissingArg = 1
10+
)

0 commit comments

Comments
 (0)