Skip to content

Commit

Permalink
fix comment lengths
Browse files Browse the repository at this point in the history
  • Loading branch information
hashiblaum committed Dec 11, 2024
1 parent 1fcfe55 commit 7eec5e4
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions sdk/logical/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,16 @@ import (
// common event metadata keys
const (
// EventMetadataPath is used in event metadata to show the API path the client must have the `subscribe` capability
// on in order consume the event. It is recommended that the event path metadata field is the API path that was invoked
// in order to generate the event.
// on in order to consume the event. It is recommended that the event path metadata field is the API path that was
// invoked in order to generate the event.
//
// For example, the KV plugin would set this to `data/mysecret`. The event system will automatically prepend
// the plugin mount to this path, if present, so it would become `secret/data/mysecret`, for example.
// For example, the KV plugin would set this to `data/mysecret`. The event system will automatically prepend the
// plugin mount to this path, if present, so it would become `secret/data/mysecret`, for example.
// If this is an auth plugin event, this will additionally be prepended with `auth/`.
EventMetadataPath = "path"
// EventMetadataDataPath is used in event metadata to show the API path that can be used to fetch any underlying
// data. Similar to the `path` event metadata, the event system will automatically prepend the plugin mount to the `data_path`.
// data. Similar to the `path` event metadata, the event system will automatically prepend the plugin mount to the
// `data_path`.
EventMetadataDataPath = "data_path"
// EventMetadataOperation is used in event metadata to express what operation was performed that generated the
// event, e.g., `read` or `write`.
Expand Down

0 comments on commit 7eec5e4

Please sign in to comment.