Skip to content

Commit 83440e9

Browse files
jhiemstrawiscturetske
authored andcommitted
Check error on additional 'param.Set'
1 parent 0fe2ac3 commit 83440e9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

xrootd/xrootd_config_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ func TestCopyCertificatesWithPKCS11(t *testing.T) {
573573
p11proxy.SetCurrentInfoForTest(p11proxy.Info{Enabled: true, PKCS11URL: "pkcs11:test"})
574574
t.Cleanup(func() {
575575
p11proxy.SetCurrentInfoForTest(p11proxy.Info{})
576-
param.Set(param.Server_EnablePKCS11.GetName(), false)
576+
require.NoError(t, param.Set(param.Server_EnablePKCS11.GetName(), false))
577577
})
578578

579579
require.NoError(t, copyXrootdCertificates(&origin.OriginServer{}))

0 commit comments

Comments
 (0)