提交 be970582 编写于 作者: 张乐 提交者: GitHub

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

filter instance configs with null release for not latest config instances
......@@ -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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册