Skip to content

Commit

Permalink
chore: allows empty names in names array (grafana#1321)
Browse files Browse the repository at this point in the history
  • Loading branch information
petethepig authored Aug 5, 2022
1 parent 356e313 commit c5d6b41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/pyroscope-models/src/profile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { z } from 'zod';
import { SpyNameSchema } from './spyName';

export const FlamebearerSchema = z.object({
names: z.array(z.string().nonempty()),
names: z.array(z.string()),
levels: z.array(z.array(z.number())),
numTicks: z.number(),
maxSelf: z.number(),
Expand Down

0 comments on commit c5d6b41

Please sign in to comment.