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 23a1761
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/ytconfig/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -323,9 +323,10 @@ func getDataNodeServerCarcass(spec *ytv1.DataNodesSpec) (DataNodeServer, error)
MediumName: location.Medium,
Path: location.Path,
}
if quota != nil {
if quote != 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 23a1761

Please sign in to comment.