Skip to content

Commit

Permalink
datastore: fix namespace sample (#1329)
Browse files Browse the repository at this point in the history
Testing, this seems to need `.Name` not `.Namespace`

Co-authored-by: Tyler Bui-Palsulich <[email protected]>
  • Loading branch information
directionless and tbpg authored Apr 9, 2020
1 parent b442c98 commit 6ee26cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datastore/snippets/snippet_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ func metadataNamespaces(w io.Writer, projectID string) error {

fmt.Fprintln(w, "Namespaces:")
for _, k := range keys {
fmt.Fprintf(w, "\t%v", k.Namespace)
fmt.Fprintf(w, "\t%v", k.Name)
}
return nil
}
Expand Down

0 comments on commit 6ee26cf

Please sign in to comment.