Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

When unpropagating we should validate unpropagation, not propagation

  • Loading branch information...
commit b0f88cb4eab81171a2444bc987180ada2b6c3e97 1 parent 39be84c
@priteau priteau authored
View
5 control/src/python/workspacecontrol/defaults/imageprocurement/propagate_common.py
@@ -700,7 +700,10 @@ def _one_imagestr_propagation(self, lf, imgstr, unprop):
self.c.log.debug("partition/HD is specified w/ %s" % schemestring)
adapter = self.adapters[keyword]
- adapter.validate_propagate_source(imgstr)
+ if unprop:
+ adapter.validate_unpropagate_target(imgstr)
+ else:
+ adapter.validate_propagate_source(imgstr)
if unprop:
lf._unpropagate_needed = True
Please sign in to comment.
Something went wrong with that request. Please try again.