Zun

replace the string variables(such as container status, action,etc) in zun with corresponding constants

Registered by miaohb

In the comment of Change-Id: Id5936c000674a2584e1af53eb587ddf8df02373c:
    https://review.openstack.org/#/c/453956/

I think the root of the confusion is that we are using string (i.e. 'Error') instead of constant (ContainerStatus.ERROR). I would love to see a patch that convert all these string variables to constants if there is no objection.

This bp will work on this question:

Blueprint information

Status:
Complete
Approver:
hongbin
Priority:
Low
Drafter:
miaohb
Direction:
Approved
Assignee:
miaohb
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
miaohb
Completed by
miaohb

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.