weizhouapache commented on issue #4016: [WIP] Fixed private gateway can't be 
deleted
URL: https://github.com/apache/cloudstack/pull/4016#issuecomment-610567918
 
 
   > > In the case as you said "When the static route service is not available 
on the VPC when a static route is created, the static route is created in a 
revoked state", could you add some changes to avoid it ?
   > 
   > @weizhouapache The state of the route is changed to revoked after failing 
validation. The other option here would be to delete the record at this point, 
which I think was the intention, but the delete method is also failing 
validation. I thought to leave things this way, to keep some history until the 
gateway is removed. I'm happy to force delete the record after failing 
validation if you believe it's a better way to go?
   
   @Spaceman1984 I think it would be better to remove the record if there is 
error/exception in the creation.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to