You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by GitBox <gi...@apache.org> on 2020/06/17 05:03:23 UTC

[GitHub] [cloudstack-primate] rhtyd commented on pull request #425: Fix unmanage / manager cluster

rhtyd commented on pull request #425:
URL: https://github.com/apache/cloudstack-primate/pull/425#issuecomment-645152148


   @davidjumani it gets a bit complicated as the state itself is determined as follows, legacy code reference:
   ```
           if (jsonObj.managedstate == "Managed") {
               jsonObj.state = jsonObj.allocationstate; //jsonObj.state == Enabled, Disabled
           } else {
               jsonObj.state = jsonObj.managedstate; //jsonObj.state == Unmanaged, PrepareUnmanaged, PrepareUnmanagedError
           }
     
   ```


----------------------------------------------------------------
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:
users@infra.apache.org