Fix swallowed error in tests for flocker package

pull/6/head
Lars Lehtonen 2017-08-25 21:28:30 -07:00
parent c112dbcab4
commit 5abbd0f96f
No known key found for this signature in database
GPG Key ID: 8137D474EBCB04F2
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ func newTestableProvisioner(assert *assert.Assertions, options volume.VolumeOpti
assert.NoError(err, "Can't find the plugin by name")
provisioner, err := plug.(*flockerPlugin).newProvisionerInternal(options, &fakeFlockerUtil{})
assert.NoError(err, fmt.Sprintf("Can't create new provisioner:%v", err))
return tmpDir, provisioner
}