Skip to content

Commit

Permalink
GetCapabilities: set HighApiVersion to 2.3 (#4069)
Browse files Browse the repository at this point in the history
  • Loading branch information
sluongng authored May 30, 2023
1 parent 0b949a4 commit 977a17c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ func NewCapabilitiesServer(env environment.Env, supportCAS, supportRemoteExec, s

func (s *CapabilitiesServer) GetCapabilities(ctx context.Context, req *repb.GetCapabilitiesRequest) (*repb.ServerCapabilities, error) {
c := repb.ServerCapabilities{
// Support bazel 2.0 -> 99.9
// Support bazel 2.0 -> 2.3
LowApiVersion: &smpb.SemVer{Major: int32(2)},
HighApiVersion: &smpb.SemVer{Major: int32(99), Minor: int32(9)},
HighApiVersion: &smpb.SemVer{Major: int32(2), Minor: int32(3)},
}
var compressors []repb.Compressor_Value
if s.supportZstd {
Expand Down

0 comments on commit 977a17c

Please sign in to comment.