diff options
| author | Joseph Richey <joerichey@google.com> | 2017-08-31 14:51:55 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-08-31 14:51:55 -0700 |
| commit | b04d7ef31dc2e21f055b1b656efb9511e72db6c6 (patch) | |
| tree | 04daee42d94ddda55d956e72f44bafec0ef6dde1 /actions/context_test.go | |
| parent | 5285a8c451ef660f932e9f1823ad7da52ad25b74 (diff) | |
| parent | f1bd511fff8e411687001bd8e76e8a41c9f5ff41 (diff) | |
Merge pull request #52 from google/keyrings
Changes to the keyrings interface, corresponding UI changes, and misc changes
Diffstat (limited to 'actions/context_test.go')
| -rw-r--r-- | actions/context_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/context_test.go b/actions/context_test.go index 4b38a33..593518f 100644 --- a/actions/context_test.go +++ b/actions/context_test.go @@ -47,7 +47,7 @@ func setupContext() (ctx *Context, err error) { ConfigFileLocation = filepath.Join(mountpoint, "test.conf") // Should not be able to setup without a config file - if badCtx, badCtxErr := NewContextFromMountpoint(mountpoint); badCtxErr == nil { + if badCtx, badCtxErr := NewContextFromMountpoint(mountpoint, nil); badCtxErr == nil { badCtx.Mount.RemoveAllMetadata() return nil, fmt.Errorf("created context at %q without config file", badCtx.Mount.Path) } @@ -61,7 +61,7 @@ func setupContext() (ctx *Context, err error) { } }() - ctx, err = NewContextFromMountpoint(mountpoint) + ctx, err = NewContextFromMountpoint(mountpoint, nil) if err != nil { return nil, err } |