mirror of
https://github.com/yusing/godoxy.git
synced 2026-03-21 00:50:21 +01:00
refactor(route): remove redundant WorkingState.Load()
This commit is contained in:
@@ -959,7 +959,7 @@ func (r *Route) Finalize() {
|
||||
}
|
||||
|
||||
// TODO: default value from context
|
||||
r.HealthCheck.ApplyDefaults(config.WorkingState.Load().Value().Defaults.HealthCheck)
|
||||
r.HealthCheck.ApplyDefaults(workingState.Value().Defaults.HealthCheck)
|
||||
}
|
||||
|
||||
func (r *Route) FinalizeHomepageConfig() {
|
||||
|
||||
Reference in New Issue
Block a user