mirror of
https://github.com/gofiber/storage.git
synced 2025-10-26 18:00:26 +08:00
chore: rename variable
This commit is contained in:
@@ -33,7 +33,7 @@ type testStoreSettings struct {
|
||||
|
||||
// TLS settings
|
||||
withSecureURL bool
|
||||
withMTLSdisabled bool
|
||||
withMTLSDisabled bool
|
||||
withTLS bool
|
||||
}
|
||||
|
||||
@@ -55,7 +55,7 @@ func withTLS(secureURL bool, mtlsDisabled bool) testStoreOption {
|
||||
return func(o *testStoreSettings) {
|
||||
o.withTLS = true
|
||||
o.withSecureURL = secureURL
|
||||
o.withMTLSdisabled = mtlsDisabled
|
||||
o.withMTLSDisabled = mtlsDisabled
|
||||
}
|
||||
}
|
||||
|
||||
@@ -159,7 +159,7 @@ func newTestStore(t testing.TB, opts ...testStoreOption) *Storage {
|
||||
"--tls-auth-clients", "yes",
|
||||
}
|
||||
|
||||
if settings.withMTLSdisabled {
|
||||
if settings.withMTLSDisabled {
|
||||
cmds = append(cmds, "--tls-auth-clients", "no")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user