Fix renew ✅
closes #375 (closed)
{{ resolvedDiscussionCount }}/{{ discussionCount }} {{ resolvedCountText }} resolved
-
978 if (not force and suspend and self.instance.time_of_suspend and 979 suspend < self.instance.time_of_suspend): 980 raise HumanReadableException.create(ugettext_noop( 981 "Renewing the machine with the selected lease would result " 982 "in its suspension time get earlier than before.")) 983 if (not force and delete and self.instance.time_of_delete and 984 delete < self.instance.time_of_delete): 985 raise HumanReadableException.create(ugettext_noop( 986 "Renewing the machine with the selected lease would result " 987 "in its delete time get earlier than before.")) 988 self.instance.time_of_suspend = suspend 989 self.instance.time_of_delete = delete 1000 try: 1001 self.set_time_of_suspend(activity, suspend, force) 1002 except: 1003 pass -
Owner
except-pass?
-
-
Owner
Catch only humanreadable
👍 -
Added 1 commit:
- 707287be - vm: fix #375 (closed) (Check suspend/delete time separately in renew)
Toggle commit list -
-
Status changed to merged
Toggle commit list