Skip to content

Extract constants for magic values [specific ci=Group23-VIC-Machine-Service]#6718

Merged
mhagen-vmware merged 2 commits intovmware:masterfrom
zjs:topic/magic-values
Nov 21, 2017
Merged

Extract constants for magic values [specific ci=Group23-VIC-Machine-Service]#6718
mhagen-vmware merged 2 commits intovmware:masterfrom
zjs:topic/magic-values

Conversation

@zjs
Copy link
Member

@zjs zjs commented Nov 8, 2017

Extract constants for several "magic values" identified during review of the merge commit for the VCH creation API feature branch.

See also: #6665

@zjs zjs self-assigned this Nov 8, 2017
@zjs zjs requested review from AngieCris, anchal-agrawal, jzt and mdharamadas1 and removed request for jzt November 8, 2017 01:30
@zjs zjs added this to the Sprint 20 Lifecycle milestone Nov 8, 2017
@zjs zjs added area/api The Vritual Container Host management API component/install kind/debt Problems that increase the cost of other work team/lifecycle labels Nov 8, 2017
@zjs zjs force-pushed the topic/magic-values branch from edc2f77 to 9dd1ba4 Compare November 8, 2017 01:35
@hickeng
Copy link
Contributor

hickeng commented Nov 8, 2017

These MUST go into lib/constants/ - they MUST be used by both sides. In this case this means an update to cmd/vicadmin to reference that constant as MUST has been optional in the past.

This package is specifically for constant values that need to be shared across components - without duplicate declarations or transitive package imports.

@zjs zjs force-pushed the feature/vic-machine-service branch 7 times, most recently from ad673c0 to dc30dd0 Compare November 20, 2017 13:10
@zjs zjs force-pushed the topic/magic-values branch from 9dd1ba4 to 599d1e5 Compare November 21, 2017 13:30
@zjs zjs changed the base branch from feature/vic-machine-service to master November 21, 2017 13:30
@zjs zjs force-pushed the topic/magic-values branch from 599d1e5 to 39ed72f Compare November 21, 2017 13:49
Extract constants for several "magic values" identified during review
of the merge commit for the VCH creation API feature branch.
@zjs zjs force-pushed the topic/magic-values branch from 39ed72f to 3739c3d Compare November 21, 2017 14:09
@zjs zjs changed the title Extract constants for magic values Extract constants for magic values [specific ci=Group23-VIC-Machine-Service] Nov 21, 2017
@mhagen-vmware mhagen-vmware merged commit 1c9f28a into vmware:master Nov 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/api The Vritual Container Host management API cla-not-required component/install kind/debt Problems that increase the cost of other work team/lifecycle

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants