Commit dce08ad3 authored by Iustin Pop's avatar Iustin Pop
Browse files

Allow confd to serve network list-fields queries



The fields are not yet complete, but at least we can enable the
list-field query to see what is there already.
Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
parent 36162faf
......@@ -313,6 +313,9 @@ queryFields (QueryFields (ItemTypeOpCode QRNode) fields) =
queryFields (QueryFields (ItemTypeOpCode QRGroup) fields) =
Ok $ fieldsExtractor Group.fieldsMap fields
queryFields (QueryFields (ItemTypeOpCode QRNetwork) fields) =
Ok $ fieldsExtractor Network.fieldsMap fields
queryFields (QueryFields (ItemTypeLuxi QRJob) fields) =
Ok $ fieldsExtractor Query.Job.fieldsMap fields
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment