Skip to content

Commit

Permalink
Print NamespaceInfo.Data when describing a namespace (#372)
Browse files Browse the repository at this point in the history
Closes #363.
  • Loading branch information
josh-berry authored Nov 1, 2023
1 parent 700234c commit b96845c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion namespace/namespace_commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ func DeleteNamespace(c *cli.Context) error {

func printNamespace(c *cli.Context, resp *workflowservice.DescribeNamespaceResponse) error {
po := &output.PrintOptions{
Fields: []string{"NamespaceInfo.Name", "NamespaceInfo.Id", "NamespaceInfo.Description", "NamespaceInfo.OwnerEmail", "NamespaceInfo.State", "Config.WorkflowExecutionRetentionTtl", "ReplicationConfig.ActiveClusterName", "ReplicationConfig.Clusters", "Config.HistoryArchivalState", "Config.VisibilityArchivalState", "IsGlobalNamespace", "FailoverVersion", "FailoverHistory"},
Fields: []string{"NamespaceInfo.Name", "NamespaceInfo.Id", "NamespaceInfo.Description", "NamespaceInfo.OwnerEmail", "NamespaceInfo.State", "NamespaceInfo.Data", "Config.WorkflowExecutionRetentionTtl", "ReplicationConfig.ActiveClusterName", "ReplicationConfig.Clusters", "Config.HistoryArchivalState", "Config.VisibilityArchivalState", "IsGlobalNamespace", "FailoverVersion", "FailoverHistory"},
FieldsLong: []string{"Config.HistoryArchivalUri", "Config.VisibilityArchivalUri"},
OutputFormat: output.Card,
}
Expand Down

0 comments on commit b96845c

Please sign in to comment.