Skip to content

Commit 28cf85b

Browse files
authored
fix: enable incremental update only when UpgradeDeliveryEnabled is set to false. (#359)
1 parent 12497b2 commit 28cf85b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/internal/config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -980,7 +980,7 @@ func (c *Config) SetIncrementalUpdate(enable bool) error {
980980
}
981981

982982
func (c *Config) UseIncrementalUpdate() bool {
983-
return !c.IntranetUpdate && c.IncrementalUpdate
983+
return !c.IntranetUpdate && !c.UpgradeDeliveryEnabled && c.IncrementalUpdate
984984
}
985985

986986
func (c *Config) SetMirrorSource(id string) error {

0 commit comments

Comments
 (0)