From ffbfcfb1f2d4b95d866da46820a15f912b74aff1 Mon Sep 17 00:00:00 2001 From: Miclain Keffeler Date: Mon, 28 Dec 2020 18:46:21 -0600 Subject: [PATCH] format. --- cas/softcas/softcas.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cas/softcas/softcas.go b/cas/softcas/softcas.go index 838dca9b..21760490 100644 --- a/cas/softcas/softcas.go +++ b/cas/softcas/softcas.go @@ -35,7 +35,7 @@ type SoftCAS struct { // crypto. func New(ctx context.Context, opts apiv1.Options) (*SoftCAS, error) { if !opts.IsCreator { - switch { + switch { case len(opts.CertificateChain) == 0: return nil, errors.New("softCAS 'CertificateChain' cannot be nil") case opts.Signer == nil: