Set OperationLog operation_type to be a string
OperationLog's operation_type is currently set to either 'restore' or 'protect'. Change operation_type to be a string in OperationLog object. Change-Id: I9dbf5658de2b73e74695a3c5af82f6ebde207081
This commit is contained in:
parent
19917ee7f3
commit
283586f264
|
@ -29,7 +29,7 @@ class OperationLog(base.KarborPersistentObject, base.KarborObject,
|
|||
fields = {
|
||||
'id': fields.UUIDField(),
|
||||
'project_id': fields.UUIDField(),
|
||||
'operation_type': fields.UUIDField(),
|
||||
'operation_type': fields.StringField(),
|
||||
'checkpoint_id': fields.UUIDField(nullable=True),
|
||||
'plan_id': fields.UUIDField(nullable=True),
|
||||
'provider_id': fields.UUIDField(nullable=True),
|
||||
|
|
Loading…
Reference in New Issue