Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenShiftAsciiDoc/CheckDollarSymbolInTerminalBlock.yml flags an error where there is none #718

Open
aireilly opened this issue Feb 20, 2024 · 1 comment

Comments

@aireilly
Copy link
Member

The OpenShiftAsciiDoc/CheckDollarSymbolInTerminalBlock.yml shows an error incorrectly in the below file. IMO this rule should not raise an error at all, the below problem notwithstanding.

. Verify that a matching machine config pool exists with a label:
+
[source,terminal]
----
$ oc describe mcp/worker-rt
----
+
.Example output
[source,yaml]
----
Name:         worker-rt
Namespace:
Labels:       machineconfiguration.openshift.io/role=worker-rt
----

https://github.com/aireilly/openshift-docs/blob/main/modules/cnf-provisioning-real-time-and-low-latency-workloads.adoc?plain=1#L106

image

@aireilly aireilly changed the title OpenShiftAsciiDoc/CheckDollarSymbolInTerminalBlock.yml flags an error where there is none OpenShiftAsciiDoc/CheckDollarSymbolInTerminalBlock.yml flags an error where there is none Feb 20, 2024
@apinnick
Copy link
Collaborator

This happened to one of my PRs. I discovered that the problem was caused by an unterminated code block. When I fixed the code block, the error diappeared.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants