You've already forked oauth2-proxy
mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2025-12-19 23:52:17 +02:00
feat: add ensure defaults to all migrated structs
Signed-off-by: Jan Larwig <jan@larwig.com>
This commit is contained in:
@@ -12,3 +12,8 @@ type SecretSource struct {
|
||||
// FromFile expects a path to a file containing the secret value.
|
||||
FromFile string `yaml:"fromFile,omitempty"`
|
||||
}
|
||||
|
||||
// EnsureDefaults sets any default values for SecretSource fields.
|
||||
func (ss *SecretSource) EnsureDefaults() {
|
||||
// No defaults to set currently
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user