Skip to content

Commit

Permalink
Issue #59: Display the connector variables
Browse files Browse the repository at this point in the history
* Resolved merge conflict.
  • Loading branch information
CherfaElyes committed Sep 27, 2024
1 parent 3692685 commit 4fdb9ce
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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(), "<VALUE>"));
yamlBuilder.append(" # Replace with desired value.");
yamlBuilder.append(" # Replace with desired value.\n");
}
// CLI
sink.section3();
Expand Down

0 comments on commit 4fdb9ce

Please sign in to comment.