Use '-' in cache name as separator between plugin name and cache name

In other places we already use '-' as separator in names that include
the plugin name, e.g. for capabilities that are defined by a plugin.
To be consistent the cache name should use the same separator. '.'
cannot be used for capabilities since it is not allowed in parameter
names in Git config files.

Change-Id: Ic1a669930831a1d4e526f2a22771879ecf7f19c1
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
This commit is contained in:
Edwin Kempin 2014-05-26 14:16:26 +02:00
parent eeca707cc7
commit 0fa95e7eb9

View File

@ -38,7 +38,7 @@ abstract class CacheCommand extends SshCommand {
if ("gerrit".equals(plugin)) {
return name;
} else {
return plugin + "." + name;
return plugin + "-" + name;
}
}
}