DaanHoogland commented on issue #8259:
URL: https://github.com/apache/cloudstack/issues/8259#issuecomment-1827612726

   > > @OlegChuev as I read the code the state is not returned at all on 
initial creation. states are "Add, Revoke, Active" and yes these would better 
be documented outside the code as well. I created #8268 to address the doc 
part. Actually adding the state will require (minor) redesign.
   > 
   > @DaanHoogland it seems simple to set the state in AddVpnUserCmd, like
   > 
   > ```
   > vpnResponse.setState(vpnUser.getState().toString());
   > ```
   > 
   > not tested
   
   Not possible for the AddVpnUserCmd as of now as no vpnuser object is 
returned through the service layer, but refactor should be possible.


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to