Skip to content

Commit

Permalink
Removed commits
Browse files Browse the repository at this point in the history
Signed-off-by: cs-308-2023 <[email protected]>
  • Loading branch information
ADI-ROXX committed Jan 11, 2025
1 parent 99809eb commit 95aa6bc
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 20 deletions.
14 changes: 0 additions & 14 deletions package.json

This file was deleted.

2 changes: 0 additions & 2 deletions pkg/config/tlscfg/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,7 @@ func (c ServerFlagsConfig) AddFlags(flags *flag.FlagSet) {
flags.String(c.Prefix+tlsCipherSuites, "", "Comma-separated list of cipher suites for the server, values are from tls package constants (https://golang.org/pkg/crypto/tls/#pkg-constants).")
flags.String(c.Prefix+tlsMinVersion, "", "Minimum TLS version supported (Possible values: 1.0, 1.1, 1.2, 1.3)")
flags.String(c.Prefix+tlsMaxVersion, "", "Maximum TLS version supported (Possible values: 1.0, 1.1, 1.2, 1.3)")
// if c.EnableCertReloadInterval {
flags.Duration(c.Prefix+tlsReloadInterval, 0, "The duration after which the certificate will be reloaded (0s means will not be reloaded)")
// }
}

// InitFromViper creates tls.Config populated with values retrieved from Viper.
Expand Down
4 changes: 0 additions & 4 deletions pkg/config/tlscfg/flags_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,11 +146,7 @@ func TestServerCertReloadInterval(t *testing.T) {
"--" + test.config.Prefix + ".tls.enabled=true",
"--" + test.config.Prefix + ".tls.reload-interval=24h",
})
// if !test.config.EnableCertReloadInterval {
// assert.ErrorContains(t, err, "unknown flag")
// } else {
require.NoError(t, err)
// }
})
}
}
Expand Down

0 comments on commit 95aa6bc

Please sign in to comment.