You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given a (truncated) panel overrides seen below (fig 1), running autofix on the panel will result in some of the JSON object being duplicated (fig 2). This is caused by the unmarshaling of the JSON panel into Go objects during the lint phase. When the modified dashboard is marshaled to JSON and used within the conflate library only the properties section of the overrides has been preserved in the modified version. Conflate then sees the full version in the original dashboard panel and thinks, rightly, that there are two distinct objects (one in the original and one in the modified version).
Given a (truncated) panel
overrides
seen below (fig 1), running autofix on the panel will result in some of the JSON object being duplicated (fig 2). This is caused by the unmarshaling of the JSON panel into Go objects during the lint phase. When the modified dashboard is marshaled to JSON and used within theconflate
library only theproperties
section of theoverrides
has been preserved in the modified version. Conflate then sees the full version in the original dashboard panel and thinks, rightly, that there are two distinct objects (one in the original and one in the modified version).fig. 1, this is extracted from a panel object
fig. 2, the overrides after running lint with autofix enabled
The text was updated successfully, but these errors were encountered: