Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions graphql/admin/admin.go
Original file line number Diff line number Diff line change
Expand Up @@ -654,6 +654,10 @@ func newAdminResolver(
return
}

if len(pl.Postings) == 2 && string(pl.Postings[0].Value) == "_STAR_ALL" {
pl.Postings = pl.Postings[1:]
}

// There should be only one posting.
if len(pl.Postings) != 1 {
glog.Errorf("Only one posting is expected in the graphql schema posting list but got %d",
Expand Down
Loading
Loading