From 4b1deaea54d4b38a554fbadc9c1c9078d66e9771 Mon Sep 17 00:00:00 2001 From: Tyson Lawrie Date: Thu, 16 Jun 2022 01:00:11 +1000 Subject: [PATCH] Added spec.metadata to example and note (#2527) Signed-off-by: Tyson Lawrie --- .../components-reference/supported-pubsub/setup-inmemory.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/daprdocs/content/en/reference/components-reference/supported-pubsub/setup-inmemory.md b/daprdocs/content/en/reference/components-reference/supported-pubsub/setup-inmemory.md index 6ce033b3e..add1f9aa3 100644 --- a/daprdocs/content/en/reference/components-reference/supported-pubsub/setup-inmemory.md +++ b/daprdocs/content/en/reference/components-reference/supported-pubsub/setup-inmemory.md @@ -20,8 +20,11 @@ metadata: spec: type: pubsub.in-memory version: v1 + metadata: [] ``` +> Note: in-memory does not require any specific metadata for the component to work, however spec.metadata is a required field. + ## Related links - [Basic schema for a Dapr component]({{< ref component-schema >}}) in the Related links section - Read [this guide]({{< ref "howto-publish-subscribe.md#step-2-publish-a-topic" >}}) for instructions on configuring pub/sub components