More hardening with digitla ocean

some ref handling was a bit strange, now it's rendering correctly. I have a feeling we will be back to the diff engine at some point soon, it's picking up some strange changes that are so deep in the model, I can't determine what is what, so we will wait for another set of triggers to appear.
This commit is contained in:
Dave Shanley
2023-03-25 10:49:33 -04:00
parent bc5a020c7a
commit 04eac2abe7
11 changed files with 140 additions and 61 deletions

View File

@@ -123,5 +123,10 @@ func ExtractExampleValue(exp *yaml.Node) any {
_ = exp.Decode(&m)
return m
}
if utils.IsNodeArray(exp) {
var m []interface{}
_ = exp.Decode(&m)
return m
}
return exp.Value
}