diff --git a/src/main/java/org/sentrysoftware/maven/metricshub/connector/producer/ConnectorPageProducer.java b/src/main/java/org/sentrysoftware/maven/metricshub/connector/producer/ConnectorPageProducer.java index 6130591..11dd7d5 100644 --- a/src/main/java/org/sentrysoftware/maven/metricshub/connector/producer/ConnectorPageProducer.java +++ b/src/main/java/org/sentrysoftware/maven/metricshub/connector/producer/ConnectorPageProducer.java @@ -245,7 +245,7 @@ public void produce( sink.section2_(); // MetricsHub Example - produceMetricsHubExamplesContent(sink, osList, technologies, sudoCommands, connectorVariables); + produceMetricsHubExamplesContent(sink, appliesTo, technologies, sudoCommands, connectorVariables); // Detection criteria sink.section2(); @@ -520,7 +520,7 @@ private void produceMetricsHubExamplesContent( if (connectorVariables != null && !connectorVariables.isEmpty()) { yamlBuilder.append(" variables:\n"); yamlBuilder.append(String.format(" %s: %s", connectorVariables.iterator().next(), "")); - yamlBuilder.append(" # Replace with desired value."); + yamlBuilder.append(" # Replace with desired value.\n"); } // CLI sink.section3();