Skip to content

Commit

Permalink
fix: revert get window default version to 1 (#766)
Browse files Browse the repository at this point in the history
  • Loading branch information
arinda-arif authored Mar 29, 2023
1 parent d2225ee commit f146fcf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/job/handler/v1beta1/job.go
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ func (jh *JobHandler) ListJobSpecification(ctx context.Context, req *pb.ListJobS

func (*JobHandler) GetWindow(_ context.Context, req *pb.GetWindowRequest) (*pb.GetWindowResponse, error) {
// TODO: the default version to be deprecated & made mandatory in future releases
version := 2
version := 1
if err := req.GetScheduledAt().CheckValid(); err != nil {
return nil, fmt.Errorf("%w: failed to parse schedule time %s", err, req.GetScheduledAt())
}
Expand Down

0 comments on commit f146fcf

Please sign in to comment.