Skip to content

Commit

Permalink
remove ErrObejctTooLarge error
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Kejie Zhang <[email protected]>
  • Loading branch information
kjzz committed Sep 5, 2018
1 parent 47c4dcb commit dad9bdd
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions core/commands/object/object.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,7 @@ type Object struct {
Links []Link `json:"Links,omitempty"`
}

var (
// ErrObjectTooLarge is returned when too much data was read from stdin. current limit 2m
ErrObjectTooLarge = errors.New("input object was too large. limit is 2mbytes")
ErrDataEncoding = errors.New("unkown data field encoding")
)
var ErrDataEncoding = errors.New("unkown data field encoding")

var ObjectCmd = &cmds.Command{
Helptext: cmdkit.HelpText{
Expand Down

0 comments on commit dad9bdd

Please sign in to comment.