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 <edwin.kempin@sap.com>
This commit is contained in:
parent
1bf67f4728
commit
61e9ac3e16
@ -94,7 +94,7 @@ public class ListPlugins {
|
|||||||
} else {
|
} else {
|
||||||
stdout.format("%-30s %-10s %-8s\n", p.getName(),
|
stdout.format("%-30s %-10s %-8s\n", p.getName(),
|
||||||
Strings.nullToEmpty(info.version),
|
Strings.nullToEmpty(info.version),
|
||||||
p.isDisabled() ? "DISABLED" : "");
|
p.isDisabled() ? "DISABLED" : "ENABLED");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user