Skip to content

Commit f146fcf

Browse files
authored
fix: revert get window default version to 1 (#766)
1 parent d2225ee commit f146fcf

File tree

1 file changed

+1
-1
lines changed
  • core/job/handler/v1beta1

1 file changed

+1
-1
lines changed

core/job/handler/v1beta1/job.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ func (jh *JobHandler) ListJobSpecification(ctx context.Context, req *pb.ListJobS
240240

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

0 commit comments

Comments
 (0)