Skip to content

Commit

Permalink
Propogate the adV2 Version up to the ServerAd
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickbrophy committed Nov 18, 2024
1 parent 1032587 commit 4829408
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions director/director.go
Original file line number Diff line number Diff line change
Expand Up @@ -1147,6 +1147,7 @@ func registerServeAd(engineCtx context.Context, ctx *gin.Context, sType server_s
Type: sType.String(),
Caps: adV2.Caps,
IOLoad: 0.0, // Explicitly set to 0. The sort algorithm takes 0.0 as unknown load
Version: adV2.Version,
}

recordAd(engineCtx, sAd, &adV2.Namespaces)
Expand Down

0 comments on commit 4829408

Please sign in to comment.