diff --git a/api/v1/environments.go b/api/v1/environments.go index 7da0d1d..a1fc52f 100644 --- a/api/v1/environments.go +++ b/api/v1/environments.go @@ -64,7 +64,10 @@ func (e *EnvironmentsServer) Create(ctx context.Context, in *proto.CreateOptions if err != nil { 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) {