Repository navigation
config/v3.4.0-experimental: supporting multiple sources for a Resource - #1176
Closed
nikita-dubrovskii wants to merge 9 commits into
Closed
nikita-dubrovskii wants to merge 9 commits into
nikita-dubrovskii wants to merge 9 commits into
Conversation
arithx
reviewed
Mar 16, 2021
nikita-dubrovskii
force-pushed
the
multiple_sources
branch
7 times, most recently
from
March 23, 2021 09:27
dabaedd to
9208d1d
Compare
arithx
reviewed
Mar 31, 2021
| } | ||
|
|
||
| if util.NilOrEmpty(res.Source) { | ||
| sources := res.GetSources() |
Contributor
There was a problem hiding this comment.
Can save a second call to res.GetSources() if we move this variable above line 67 & use it in the ErrVerificationAndNilSource check.
Contributor
Author
There was a problem hiding this comment.
didn't get it. do you advise this - validateVerification(sources []Source ) error ?
nikita-dubrovskii
force-pushed
the
multiple_sources
branch
3 times, most recently
from
April 13, 2021 09:12
e518535 to
f95c542
Compare
nikita-dubrovskii
force-pushed
the
multiple_sources
branch
from
April 13, 2021 13:18
f95c542 to
03a9767
Compare
nikita-dubrovskii
force-pushed
the
multiple_sources
branch
from
June 22, 2021 09:18
03a9767 to
aee3ae7
Compare
Signed-off-by: Nikita Dubrovskii <[email protected]>
Signed-off-by: Nikita Dubrovskii <[email protected]>
Signed-off-by: Nikita Dubrovskii <[email protected]>
Signed-off-by: Nikita Dubrovskii <[email protected]>
Signed-off-by: Nikita Dubrovskii <[email protected]>
Signed-off-by: Nikita Dubrovskii <[email protected]>
Signed-off-by: Nikita Dubrovskii <[email protected]>
Signed-off-by: Nikita Dubrovskii <[email protected]>
Signed-off-by: Nikita Dubrovskii <[email protected]>
nikita-dubrovskii
force-pushed
the
multiple_sources
branch
from
September 22, 2021 14:45
aee3ae7 to
fad6e7b
Compare
Contributor
|
Discussed this OOB with @jlebon and @nikita-dubrovskii. We're going to close this out for now. The change is pretty intrusive, and the current config merging semantics prevent us from completely replacing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Allow Ignition user to specify multiple equivalent sources for a resource,
so that Ignition configs can be resilient to server failure.