mirror of
https://github.com/foomo/contentserver.git
synced 2025-10-16 12:25:44 +00:00
omitted comparison to bool constant
This commit is contained in:
parent
73b9b71dd3
commit
284ee99690
@ -156,7 +156,7 @@ func (repo *Repo) GetContent(r *requests.Content) (c *content.SiteContent, err e
|
||||
if log.SelectedLevel == log.LevelDebug {
|
||||
log.Debug(fmt.Sprintf("resolved: %v, uri: %v, dim: %v, n: %v", resolved, resolvedURI, resolvedDimension, node))
|
||||
}
|
||||
if resolved == false {
|
||||
if !resolved {
|
||||
log.Debug("repo.GetContent", r.URI, "could not be resolved falling back to default dimension", r.Env.Dimensions[0])
|
||||
// r.Env.Dimensions is validated => we can access it
|
||||
resolvedDimension = r.Env.Dimensions[0]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user