Repository: incubator-s2graph Updated Branches: refs/heads/master 128d67c06 -> 79e1ffa68
Update AdminController.scala S2GRAPH-168 - Fix args order mismatch when use addServiceColumnProp Project: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/commit/5febb192 Tree: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/tree/5febb192 Diff: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/diff/5febb192 Branch: refs/heads/master Commit: 5febb192e3e1235291f69ecb84ee8998bf45bd2b Parents: 3361320 Author: zhangmengzju <[email protected]> Authored: Thu Oct 26 20:51:33 2017 +0800 Committer: GitHub <[email protected]> Committed: Thu Oct 26 20:51:33 2017 +0800 ---------------------------------------------------------------------- .../org/apache/s2graph/rest/play/controllers/AdminController.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-s2graph/blob/5febb192/s2rest_play/app/org/apache/s2graph/rest/play/controllers/AdminController.scala ---------------------------------------------------------------------- diff --git a/s2rest_play/app/org/apache/s2graph/rest/play/controllers/AdminController.scala b/s2rest_play/app/org/apache/s2graph/rest/play/controllers/AdminController.scala index 8eb25fd..2d3530b 100644 --- a/s2rest_play/app/org/apache/s2graph/rest/play/controllers/AdminController.scala +++ b/s2rest_play/app/org/apache/s2graph/rest/play/controllers/AdminController.scala @@ -317,7 +317,7 @@ object AdminController extends Controller { serviceColumn <- ServiceColumn.find(service.id.get, columnName) prop <- requestParser.toPropElements(js).toOption } yield { - ColumnMeta.findOrInsert(serviceColumn.id.get, prop.name, prop.defaultValue) + ColumnMeta.findOrInsert(serviceColumn.id.get, prop.name, prop.datatType) } }
