Parcourir la source

`aggregate` isn't actually required

Signed-off-by: Matt Ray <github@mattray.dev>
Matt Ray il y a 3 ans
Parent
commit
5fa4cac10c
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      pkg/costmodel/aggregation.go

+ 1 - 1
pkg/costmodel/aggregation.go

@@ -2231,7 +2231,7 @@ func (a *Accesses) ComputeAllocationHandler(w http.ResponseWriter, r *http.Reque
 	// resolution.
 	// resolution.
 	resolution := qp.GetDuration("resolution", env.GetETLResolution())
 	resolution := qp.GetDuration("resolution", env.GetETLResolution())
 
 
-	// Aggregation is a required comma-separated list of fields by which to
+	// Aggregation is an optional comma-separated list of fields by which to
 	// aggregate results. Some fields allow a sub-field, which is distinguished
 	// aggregate results. Some fields allow a sub-field, which is distinguished
 	// with a colon; e.g. "label:app".
 	// with a colon; e.g. "label:app".
 	// Examples: "namespace", "namespace,label:app"
 	// Examples: "namespace", "namespace,label:app"