Skip to content

Commit

Permalink
Fix error string
Browse files Browse the repository at this point in the history
  • Loading branch information
neekolas committed Aug 13, 2024
1 parent f7ae92c commit 4e218ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/mls/api/v1/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ func (s *Service) FetchKeyPackages(ctx context.Context, req *mlsv1.FetchKeyPacka
}

if len(installations) != len(ids) {
return nil, status.Errorf(codes.NotFound, "requested %d key packages but only received %s", len(ids), len(installations))
return nil, status.Errorf(codes.NotFound, "requested %d key packages but only received %d", len(ids), len(installations))
}

resPackages := make([]*mlsv1.FetchKeyPackagesResponse_KeyPackage, len(ids))
Expand Down

0 comments on commit 4e218ac

Please sign in to comment.