Skip to content

Commit

Permalink
Do not require specifying quota when specifying location watermarks
Browse files Browse the repository at this point in the history
  • Loading branch information
p4vook committed Dec 18, 2024
1 parent 357d9d1 commit a9cfeb2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/ytconfig/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,8 @@ func getDataNodeServerCarcass(spec *ytv1.DataNodesSpec) (DataNodeServer, error)
}
if quota != nil {
storeLocation.Quota = *quota

}
if location.LowWatermark != nil or storeLocation.Quota != nil {
if location.LowWatermark != nil {
storeLocation.LowWatermark = location.LowWatermark.Value()
} else {
Expand Down

0 comments on commit a9cfeb2

Please sign in to comment.