Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@kerolasa
Copy link
Collaborator

This update tries to make it really clear 'host' is a key word that exists in two namespaces 1) as a apply parameter, and 2) template value. It would have been nice if these string had been different, but we have what we do and the best in this situation is to try to be as clear and explicit as possible the two 'hosts' are separate but related.

Co-authored-with: Jack Holdsworth [email protected]

This update tries to make it really clear 'host' is a key word that exists
in two namespaces 1) as a apply parameter, and 2) template value.  It would
have been nice if these string had been different, but we have what we do
and the best in this situation is to try to be as clear and explicit as
possible the two 'hosts' are separate but related.

Co-authored-with: Jack Holdsworth <[email protected]>
Signed-off-by: Sami Kerola <[email protected]>
|
v
+----------------------------------------+
| get domain from template: example.com. |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the meaning of "get domain from template"? Or is it the domain of apply call (L1964) ?

|
v
+------------------------------+
| does template include: host? |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This part should be somehow in loop over all the records, shouldn't it?

+-------------------------+ |
^ v
| +----------------+
yes--| is the host: @ |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Somewhere in between should be also variable resolution, which can also be in the host field.

| no
v
+-----------------------------+
  | get host from template: bar |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Somehow would be good to be more indicative which part is an algorithm and which one is an example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants