Skip to content

Commit

Permalink
Handle error from merging layers by adding a warning
Browse files Browse the repository at this point in the history
  • Loading branch information
dustmop committed Nov 7, 2024
1 parent b19015f commit 6da2c74
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/config/nodetreemodel/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,9 @@ func (c *ntmConfig) BuildSchema() {
defer c.Unlock()
c.buildEnvVars()
c.ready.Store(true)
c.mergeAllLayers()
if err := c.mergeAllLayers(); err != nil {
c.warnings = append(c.warnings, err.Error())
}
}

func (c *ntmConfig) isReady() bool {
Expand Down

0 comments on commit 6da2c74

Please sign in to comment.