From e706e484155147af8fe433903ee1cb1fb7bc896d Mon Sep 17 00:00:00 2001 From: MUzairS15 Date: Wed, 7 Aug 2024 19:27:55 +0530 Subject: [PATCH] remove static status Signed-off-by: MUzairS15 --- models/meshmodel/core/v1beta1/models.go | 1 - 1 file changed, 1 deletion(-) diff --git a/models/meshmodel/core/v1beta1/models.go b/models/meshmodel/core/v1beta1/models.go index e3094f6c..0fc27a27 100644 --- a/models/meshmodel/core/v1beta1/models.go +++ b/models/meshmodel/core/v1beta1/models.go @@ -97,7 +97,6 @@ func (m *Model) Create(db *database.Handler, hostID uuid.UUID) (uuid.UUID, error m.ID = modelID m.CategoryID = id m.RegistrantID = hostID - m.Status = entity.Enabled err = db.Omit(clause.Associations).Create(&m).Error if err != nil { return uuid.UUID{}, err