f2eb6942c5
This condenses the precommit constraint into a single function, which allows to cleanup a bunch of logic elsewhere. Also, avoid delete in the first place when we are not allowed to remove the uncommited object. This also fixes submitting the metrics and now it submits the correct metrics. Change-Id: If91dfa3b19bce5b24ff2a19d7c34b57a200db1dd |
||
---|---|---|
.. | ||
common.go | ||
create.go | ||
defaults.go | ||
invalid.go | ||
run_test.go | ||
run.go | ||
test.go |