Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
bassosimone committed Jun 27, 2024
1 parent 7f1a0c7 commit bae5076
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/experimentconfig/experimentconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
}
Expand Down

0 comments on commit bae5076

Please sign in to comment.