Permalink
Browse files

Add missing argument to NewMapEnv (#1035)

google/trillian#1272 added an experimental argument to NewMapEnv. Fixes adminserver and integration build errors.
  • Loading branch information...
jtoohill authored and gdbelvin committed Sep 11, 2018
1 parent a0e127b commit 55375b2cb8ccdcf76b87bee9496c568be8aa34f8
Showing with 4 additions and 4 deletions.
  1. +3 −3 core/adminserver/admin_server_test.go
  2. +1 −1 impl/integration/env.go
@@ -158,7 +158,7 @@ func TestCreateRead(t *testing.T) {
storage := fake.NewDomainStorage()
// Map server
mapEnv, err := integration.NewMapEnv(ctx)
mapEnv, err := integration.NewMapEnv(ctx, false)
if err != nil {
t.Fatalf("Failed to create trillian map server: %v", err)
}
@@ -210,7 +210,7 @@ func TestDelete(t *testing.T) {
storage := fake.NewDomainStorage()
// Map server
mapEnv, err := integration.NewMapEnv(ctx)
mapEnv, err := integration.NewMapEnv(ctx, false)
if err != nil {
t.Fatalf("Failed to create trillian map server: %v", err)
}
@@ -274,7 +274,7 @@ func TestListDomains(t *testing.T) {
storage := fake.NewDomainStorage()
// Map server
mapEnv, err := integration.NewMapEnv(ctx)
mapEnv, err := integration.NewMapEnv(ctx, false)
if err != nil {
t.Fatalf("Failed to create trillian map server: %v", err)
}
View
@@ -124,7 +124,7 @@ func NewEnv() (*Env, error) {
}
// Map server
mapEnv, err := ttest.NewMapEnv(ctx)
mapEnv, err := ttest.NewMapEnv(ctx, false)
if err != nil {
return nil, fmt.Errorf("env: failed to create trillian map server: %v", err)
}

0 comments on commit 55375b2

Please sign in to comment.