Skip to content

Commit

Permalink
Fix lint check
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabrizio Furano committed Dec 2, 2020
1 parent 9191b1e commit a029292
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions pkg/storage/utils/eosfs/eosfs.go
Original file line number Diff line number Diff line change
Expand Up @@ -1448,16 +1448,16 @@ func (fs *eosfs) getRootUIDAndGID(ctx context.Context) (string, string, error) {
return "0", "0", nil
}

func attrTypeToString(at eosclient.AttrType) string {
switch at {
case SystemAttr:
return "sys"
case UserAttr:
return "user"
default:
return "invalid"
}
}
//func attrTypeToString(at eosclient.AttrType) string {
// switch at {
// case SystemAttr:
// return "sys"
// case UserAttr:
// return "user"
// default:
// return "invalid"
// }
//}

type eosSysMetadata struct {
TreeSize uint64 `json:"tree_size"`
Expand Down

0 comments on commit a029292

Please sign in to comment.