[v10.1.x] Alerting: Fix auto-completion snippets for KV properties (#73741)
This commit is contained in:
@@ -28,11 +28,11 @@ Annotations:
|
||||
{{ end }}
|
||||
`;
|
||||
|
||||
export const groupLabelsLoopSnippet = getKeyValueTemplate('GroupLabels');
|
||||
export const commonLabelsLoopSnippet = getKeyValueTemplate('CommonLabels');
|
||||
export const commonAnnotationsLoopSnippet = getKeyValueTemplate('CommonAnnotations');
|
||||
export const labelsLoopSnippet = getKeyValueTemplate('Labels');
|
||||
export const annotationsLoopSnippet = getKeyValueTemplate('Annotations');
|
||||
export const groupLabelsLoopSnippet = getKeyValueTemplate('GroupLabels.SortedPairs');
|
||||
export const commonLabelsLoopSnippet = getKeyValueTemplate('CommonLabels.SortedPairs');
|
||||
export const commonAnnotationsLoopSnippet = getKeyValueTemplate('CommonAnnotations.SortedPairs');
|
||||
export const labelsLoopSnippet = getKeyValueTemplate('Labels.SortedPairs');
|
||||
export const annotationsLoopSnippet = getKeyValueTemplate('Annotations.SortedPairs');
|
||||
|
||||
function getKeyValueTemplate(arrayName: string) {
|
||||
return `
|
||||
|
||||
Reference in New Issue
Block a user