From 702b7f9b3952885ff272e5974eb050508a9abc6d Mon Sep 17 00:00:00 2001 From: Kislay Kishore Date: Fri, 9 Aug 2024 15:31:49 +0530 Subject: [PATCH] Minor fix --- cfg/types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cfg/types.go b/cfg/types.go index 6681819355..918e476496 100644 --- a/cfg/types.go +++ b/cfg/types.go @@ -35,7 +35,7 @@ func (o *Octal) UnmarshalText(text []byte) error { return nil } -func (o Octal) MarshalText() (text []byte, _ error) { +func (o Octal) MarshalText() ([]byte, error) { return []byte(strconv.FormatInt(int64(o), 8)), nil }