diff --git a/profiler/profiler.go b/profiler/profiler.go index 1419db0ba..1ea545e75 100644 --- a/profiler/profiler.go +++ b/profiler/profiler.go @@ -20,7 +20,7 @@ const ( ) func ParseType(profilerType string) (Type, bool) { - switch strings.TrimSpace(strings.ToLower(profilerType)) { + switch strings.ToLower(strings.TrimSpace(profilerType)) { case string(TypeGCP): return TypeGCP, true default: