Skip to content

Commit 9f1e748

Browse files
authored
Fixes a bug (#6)
1 parent 1ebd59b commit 9f1e748

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/model/machineconfiguration/update.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ func (c ConcreteMachineConfigurationUpdater) updateConfig(machineID string, conf
229229
}
230230

231231
if configRequest.BlockedPathRegex != nil && strings.Compare(*configRequest.BlockedPathRegex, currentMachineConfig.BlockedPathRegex) != 0 {
232-
newMachineConfig.AllowedPathRegex = *configRequest.BlockedPathRegex
232+
newMachineConfig.BlockedPathRegex = *configRequest.BlockedPathRegex
233233
changed = true
234234
}
235235

0 commit comments

Comments
 (0)