From 61e9ac3e16949f49634ca82e08d80b6eefa72788 Mon Sep 17 00:00:00 2001 From: Edwin Kempin Date: Wed, 5 Sep 2012 07:41:42 +0200 Subject: [PATCH] gerrit plugin ls: Show status for enabled plugins as 'ENABLED' When listing the plugins with the 'plugin ls' SSH command the status for enabled plugins is empty while for disabled plugins it shows 'DISABLED'. Show the status for enabled plugins as 'ENABLED' so that users are not confused by the missing status. Change-Id: Iebae72a1c5287c895ab7160f050992b989cd1d97 Signed-off-by: Edwin Kempin --- .../main/java/com/google/gerrit/server/plugins/ListPlugins.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gerrit-server/src/main/java/com/google/gerrit/server/plugins/ListPlugins.java b/gerrit-server/src/main/java/com/google/gerrit/server/plugins/ListPlugins.java index b87af89740..3f7bc971c0 100644 --- a/gerrit-server/src/main/java/com/google/gerrit/server/plugins/ListPlugins.java +++ b/gerrit-server/src/main/java/com/google/gerrit/server/plugins/ListPlugins.java @@ -94,7 +94,7 @@ public class ListPlugins { } else { stdout.format("%-30s %-10s %-8s\n", p.getName(), Strings.nullToEmpty(info.version), - p.isDisabled() ? "DISABLED" : ""); + p.isDisabled() ? "DISABLED" : "ENABLED"); } }