Browse Source

fix typo

pull/6/head
Nicolas Massé 7 years ago
parent
commit
6e24173b8f
  1. 2
      content/blog/use-qlkube-to-query-the-kubernetes-api.md

2
content/blog/use-qlkube-to-query-the-kubernetes-api.md

@ -303,7 +303,7 @@ Once your GraphQL queries refined in the GraphQL Explorer, you can send them dir
```sh ```sh
export GLKUBE_HOSTNAME=$(oc get route qlkube -o go-template --template="{{.spec.host}}") export GLKUBE_HOSTNAME=$(oc get route qlkube -o go-template --template="{{.spec.host}}")
cat <<EOF | curl -XPOST 'http://$GLKUBE_HOSTNAME/' -H "Content-Type: application/json" -d @- -s |jq . cat <<EOF | curl -XPOST "http://$GLKUBE_HOSTNAME/" -H "Content-Type: application/json" -d @- -s |jq .
{ {
"query": "query getAllPodsInCurrentNamespace { "query": "query getAllPodsInCurrentNamespace {
all(namespace: \"qlkube\") { all(namespace: \"qlkube\") {

Loading…
Cancel
Save