From bae507658c7fdc32f3bbc5c675230ffc25f32c6a Mon Sep 17 00:00:00 2001 From: Simone Basso Date: Thu, 27 Jun 2024 17:25:01 +0400 Subject: [PATCH] x --- internal/experimentconfig/experimentconfig.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/experimentconfig/experimentconfig.go b/internal/experimentconfig/experimentconfig.go index 617429100..58932b0e9 100644 --- a/internal/experimentconfig/experimentconfig.go +++ b/internal/experimentconfig/experimentconfig.go @@ -26,7 +26,7 @@ func DefaultOptionsSerializer(config any) (options []string) { // as documented, this method MUST be passed a struct pointer // // Implementation note: the .Elem method converts a nil - // pointer to a zero value pointee type. + // pointer to a zero-value pointee type. stval := reflect.ValueOf(config) if stval.Kind() != reflect.Pointer { return @@ -49,7 +49,7 @@ func DefaultOptionsSerializer(config any) (options []string) { continue } - // make sure the file name does not start with Safe + // make sure the field name does not start with "Safe" if strings.HasPrefix(fieldtype.Name, "Safe") { continue }