Skip to content
This repository was archived by the owner on Aug 14, 2020. It is now read-only.

spec: move labels matching part to discovery. #469

Merged
merged 1 commit into from
Aug 6, 2015

Conversation

sgotti
Copy link
Member

@sgotti sgotti commented Aug 4, 2015

Now aci.md "Dependency Matching" chapter explains how dependency's name and
labels are used for discovery and then compared to the name and labels in the
Image Manifest of the retrieved image.

This labels matching should be done for every discovery.

This patch moves the labels matching part to discovery, and keeps in "Dependency
Matching" the additional ImageID check.

From the logical point of view of "Dependency Matching" this means that now labels
matching is done before ImageID matching since it's included in the discovery
logic.

@sgotti sgotti changed the title spec: move lables matching part to discovery. spec: move labels matching part to discovery. Aug 4, 2015
@sgotti sgotti force-pushed the spec_move_labels_matching_to_discovery branch from 51732c7 to 25502fe Compare August 4, 2015 12:36
Now aci.md "Dependency Matching" chapter explains how dependency's name and
labels are used for discovery and then compared to the name and labels in the
Image Manifest of the retrieved image.

This labels matching should be done for every discovery.

This patch moves the labels matching part to discovery, and keeps in "Dependency
Matching" the additional ImageID check.

From the logical point of view of "Dependency Matching" this means that now labels
matching is done before ImageID matching since it's included in the discovery
logic.
@sgotti sgotti force-pushed the spec_move_labels_matching_to_discovery branch from 25502fe to c8d6e92 Compare August 4, 2015 13:22
@jonboulle
Copy link
Contributor

LGTM.. @vbatts?

@philips
Copy link
Contributor

philips commented Aug 6, 2015

lgtm

philips added a commit that referenced this pull request Aug 6, 2015
…overy

spec: move labels matching part to discovery.
@philips philips merged commit af37e64 into appc:master Aug 6, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants