Commit be970582 by 张乐 Committed by GitHub

Merge pull request #436 from nobodyiam/fix-instance-config-with-no-release

filter instance configs with null release for not latest config instances
parents c585adb6 dbb36f0d
......@@ -260,6 +260,10 @@ directive_module.directive('apollonspanel',
if (configs && configs.length > 0) {
configs.forEach(function (instanceConfig) {
var release = instanceConfig.release;
//filter dirty data
if (!release) {
return;
}
if (!groupedInstances[release.id]) {
groupedInstances[release.id] = [];
notLatestReleases.push(release);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment