lahirujayathilake commented on code in PR #475:
URL: https://github.com/apache/airavata-custos/pull/475#discussion_r3284246584


##########
pkg/models/allocation.go:
##########
@@ -16,10 +16,11 @@ type ComputeCluster struct {
 }
 
 type ComputeClusterUser struct {
-       ID               string `json:"id"                db:"id"`
-       ComputeClusterID string `json:"compute_cluster_id" 
db:"compute_cluster_id"`
-       UserID           string `json:"user_id"            db:"user_id"`
-       LocalUsername    string `json:"local_username"     db:"local_username"` 
// The username of the user on the compute cluster, which may be different from 
their Airavata Custos username.
+       ID               string           `json:"id"                db:"id"`
+       ComputeClusterID string           `json:"compute_cluster_id" 
db:"compute_cluster_id"`
+       UserID           string           `json:"user_id"            
db:"user_id"`
+       LocalUsername    string           `json:"local_username"     
db:"local_username"` // The username of the user on the compute cluster, which 
may be different from their Airavata Custos username.
+       Status           AllocationStatus `json:"status"             
db:"status"`

Review Comment:
   Removed the status, and will be using the 
ComputeAllocationMembership.AllocationStatus



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