Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Unified Diff: impl/dummy/dummy.go

Issue 1916463004: impl/memory: Disallow empty namespace. (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/gae@master
Patch Set: Rbase. Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « filter/txnBuf/state.go ('k') | impl/memory/datastore.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: impl/dummy/dummy.go
diff --git a/impl/dummy/dummy.go b/impl/dummy/dummy.go
index dd323cd75c3856563d31577ced0e2ac641596730..43ecbe50c49b8225a33db99b5469becb63b39fe4 100644
--- a/impl/dummy/dummy.go
+++ b/impl/dummy/dummy.go
@@ -144,7 +144,7 @@ type i struct{}
func (i) AccessToken(scopes ...string) (token string, expiry time.Time, err error) { panic(ni()) }
func (i) AppID() string { return "appid" }
func (i) FullyQualifiedAppID() string { return "dummy~appid" }
-func (i) GetNamespace() string { return "dummy-namespace" }
+func (i) GetNamespace() (string, bool) { return "dummy-namespace", true }
func (i) ModuleHostname(module, version, instance string) (string, error) { panic(ni()) }
func (i) ModuleName() string { panic(ni()) }
func (i) DefaultVersionHostname() string { panic(ni()) }
« no previous file with comments | « filter/txnBuf/state.go ('k') | impl/memory/datastore.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698