u
This commit is contained in:
@@ -35,9 +35,5 @@ func (a *PlatformFamilies) Query(ctx context.Context, query string) ([]*pb.Platf
|
||||
return nil, fmt.Errorf("failed to unmarshal: %w", err)
|
||||
}
|
||||
|
||||
if len(data.Platformfamilies) == 0 {
|
||||
return nil, fmt.Errorf("no results: %s", query)
|
||||
}
|
||||
|
||||
return data.Platformfamilies, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user