Add a search string to envs
This commit is contained in:
parent
e71636896e
commit
638e35b60d
@ -115,7 +115,7 @@ func (e *EnvironmentsServer) Update(ctx context.Context, in *proto.UpdateOptions
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
|
||||
return &proto.EnvironmentFull{
|
||||
Metadata: in.GetMetadata(),
|
||||
Id: in.GetId(),
|
||||
@ -191,7 +191,7 @@ func (e *EnvironmentsServer) List(in *proto.ListOptions, stream proto.Environmen
|
||||
Token: in.GetToken().GetToken(),
|
||||
}
|
||||
|
||||
envs, err := environment.ListEnvs(stream.Context())
|
||||
envs, err := environment.ListEnvs(stream.Context(), in.GetSearchString())
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user