Skip to content
This repository was archived by the owner on Nov 28, 2022. It is now read-only.

Commit

Permalink
Merge pull request #591 from eharris369/CW2213-restoreInjectMetrics-090
Browse files Browse the repository at this point in the history
CW Issue #2213: Restore the inject metrics option on apps with embedded metrics 0.9.0
  • Loading branch information
eharris369 authored Feb 14, 2020
2 parents d5eb701 + f19b9b8 commit 561d204
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,7 @@ protected IStatus run(IProgressMonitor monitor) {

public boolean showAction() {
// Don't show the action if the app does not support inject metrics
// Also don't show if the application already has metrics that are not injected
// (if injected, still need to allow the user to remove)
return (app != null && app.canInjectMetrics() && !(app.hasMetricsDashboard() && !app.isMetricsInjected()));
return (app != null && app.canInjectMetrics());
}

}

0 comments on commit 561d204

Please sign in to comment.