From f61fcef706622be8aec42612828fa1200e9597b3 Mon Sep 17 00:00:00 2001 From: Han Kang Date: Tue, 8 Nov 2022 13:34:17 -0800 Subject: [PATCH] go fmt Change-Id: I631ef35f10e8434b5a6deccedab6158f7199faa3 --- test/instrumentation/doc.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/test/instrumentation/doc.go b/test/instrumentation/doc.go index 712e115ddbd..145a9807433 100644 --- a/test/instrumentation/doc.go +++ b/test/instrumentation/doc.go @@ -30,12 +30,12 @@ The entrypoint to this package is defined in a shell script (i.e. stability-util the logic for feeding file names as arguments into the program. The logic of this program is as follows: - - parse all files fed in, keeping track of: - - the function and struct pointers which correspond to prometheus metric definitions. - - consts/variable we encounter, so that we can use these to resolve values in metric definitions - - then, iterate over the function and struct pointers, resolving attributes to concrete metric values - - then, using our collected and resolved metric definitions, output (depending on the mode): - - a yaml file corresponding to all stable metrics - - a documentation file corresponding to all parseable metrics in the Kubernetes codebase + - parse all files fed in, keeping track of: + - the function and struct pointers which correspond to prometheus metric definitions. + - consts/variable we encounter, so that we can use these to resolve values in metric definitions + - then, iterate over the function and struct pointers, resolving attributes to concrete metric values + - then, using our collected and resolved metric definitions, output (depending on the mode): + - a yaml file corresponding to all stable metrics + - a documentation file corresponding to all parseable metrics in the Kubernetes codebase */ package main