From f3f3d5c91b7384d879391f485b58d7de6608b180 Mon Sep 17 00:00:00 2001 From: Jeromy Date: Sun, 13 Dec 2015 14:56:31 -0800 Subject: [PATCH 1/2] add 'get' to the allowed gateway commands License: MIT Signed-off-by: Jeromy --- core/commands/root.go | 1 + 1 file changed, 1 insertion(+) diff --git a/core/commands/root.go b/core/commands/root.go index cfe25de229b..850037b0313 100644 --- a/core/commands/root.go +++ b/core/commands/root.go @@ -137,6 +137,7 @@ var rootROSubcommands = map[string]*cmds.Command{ }, "cat": CatCmd, "commands": CommandsDaemonROCmd, + "get": GetCmd, "ls": LsCmd, "name": &cmds.Command{ Subcommands: map[string]*cmds.Command{ From bfff3fa3905a38c7ac107ba1d5b3313f46b8e5d8 Mon Sep 17 00:00:00 2001 From: Jeromy Date: Sun, 13 Dec 2015 15:12:29 -0800 Subject: [PATCH 2/2] Add patch too License: MIT Signed-off-by: Jeromy --- core/commands/root.go | 1 + 1 file changed, 1 insertion(+) diff --git a/core/commands/root.go b/core/commands/root.go index 850037b0313..a69d16eb78f 100644 --- a/core/commands/root.go +++ b/core/commands/root.go @@ -150,6 +150,7 @@ var rootROSubcommands = map[string]*cmds.Command{ "links": objectLinksCmd, "get": objectGetCmd, "stat": objectStatCmd, + "patch": objectPatchCmd, }, }, "refs": RefsROCmd,