use of io.fabric8.maven.docker.util.FormatParameterReplacer in project docker-maven-plugin by fabric8io.
the class LogOutputSpecFactory method addPrefix.
private void addPrefix(LogOutputSpec.Builder builder, String logPrefix, ImageConfiguration imageConfig, String containerId) {
String prefixFormat = logPrefix;
if (prefixFormat == null) {
prefixFormat = DEFAULT_PREFIX_FORMAT;
}
FormatParameterReplacer formatParameterReplacer = new FormatParameterReplacer(getPrefixFormatParameterLookups(imageConfig, containerId));
builder.prefix(formatParameterReplacer.replace(prefixFormat));
}
Aggregations