Return the created env on create req
This commit is contained in:
parent
b61485348a
commit
a2496757fa
@ -64,7 +64,10 @@ func (e *EnvironmentsServer) Create(ctx context.Context, in *proto.CreateOptions
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
return nil, nil
|
return &proto.EnvironmentFull{
|
||||||
|
Metadata: in.GetMetadata(),
|
||||||
|
Spec: in.GetSpec(),
|
||||||
|
}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (e *EnvironmentsServer) Update(ctx context.Context, in *proto.UpdateOptions) (*proto.EnvironmentFull, error) {
|
func (e *EnvironmentsServer) Update(ctx context.Context, in *proto.UpdateOptions) (*proto.EnvironmentFull, error) {
|
||||||
|
Loading…
Reference in New Issue
Block a user