diff --git a/docs/eventing/samples/gcp-pubsub-source/README.md b/docs/eventing/samples/gcp-pubsub-source/README.md index 370af7889d2..c6300b51447 100644 --- a/docs/eventing/samples/gcp-pubsub-source/README.md +++ b/docs/eventing/samples/gcp-pubsub-source/README.md @@ -142,8 +142,7 @@ to the `default` Broker. 1. We need to wait for the downstream pods to get started and receive our event, wait a few seconds. - - - You can check the status of the downstream pods with: + You can check the status of the downstream pods with: ```shell kubectl get pods --selector serving.knative.dev/service=event-display @@ -167,7 +166,7 @@ Context Attributes, Source: //pubsub.googleapis.com/projects/PROJECT_ID/topics/testing ID: 815117146007971 Time: 2019-10-31T04:49:12.582Z - DataContentType: application/json + DataContentType: application/octet-stream Extensions: knativecemode: binary knativearrivaltime: 2019-10-31T04:49:12Z diff --git a/docs/eventing/samples/gcp-pubsub-source/gcp-pubsub-source.yaml b/docs/eventing/samples/gcp-pubsub-source/gcp-pubsub-source.yaml index 94d269648ce..8075ca2bdd8 100644 --- a/docs/eventing/samples/gcp-pubsub-source/gcp-pubsub-source.yaml +++ b/docs/eventing/samples/gcp-pubsub-source/gcp-pubsub-source.yaml @@ -5,8 +5,9 @@ metadata: spec: topic: testing sink: - apiVersion: eventing.knative.dev/v1alpha1 - kind: Broker - name: default + ref: + apiVersion: eventing.knative.dev/v1alpha1 + kind: Broker + name: default # If running in GKE, we will ask the metadata server for the project. #project: MY_GCP_PROJECT