fix(cf): remove the empty cache results for SG
MODIFY
clouddriver-cloudfoundry/src/main/java/com/netflix/spinnaker/clouddriver/cloudfoundry/provider/agent/CloudFoundryServerGroupCachingAgent.java
clouddriver-cloudfoundry/src/main/java/com/netflix/spinnaker/clouddriver/cloudfoundry/provider/agent/CloudFoundryServerGroupCachingAgent.java
@@ -111,6 +111,7 @@ public class CloudFoundryServerGroupCachingAgent extends AbstractCloudFoundryCac
SERVER_GROUPS.getNs(),
serverGroups.stream()
.map(sg -> setServerGroupCacheData(toKeep, sg, loadDataStart))
+ .filter(c -> c != null && c.getId() != null)
.collect(Collectors.toSet()));
results.put(
INSTANCES.getNs(),

fix(cf): remove the empty cache results for SG (#4310)