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

Don't change cluster in apply dry run modified#699

Merged
bryanl merged 1 commit intoksonnet:masterfrom
bryanl:615-apply-dry-run
Jul 7, 2018
Merged

Don't change cluster in apply dry run modified#699
bryanl merged 1 commit intoksonnet:masterfrom
bryanl:615-apply-dry-run

Conversation

@bryanl
Copy link
Member

@bryanl bryanl commented Jul 6, 2018

Add conditionals for object tagging and upserting.

#615

Signed-off-by: bryanl bryanliles@gmail.com

Add conditionals for object tagging and upserting.

Signed-off-by: bryanl <bryanliles@gmail.com>
@bryanl bryanl requested a review from underrun July 6, 2018 00:03
@coveralls
Copy link

Pull Request Test Coverage Report for Build 1137

  • 9 of 9 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.05%) to 70.909%

Totals Coverage Status
Change from base Build 1131: 0.05%
Covered Lines: 11456
Relevant Lines: 16156

💛 - Coveralls

@bryanl bryanl added this to the 0.12.0 milestone Jul 6, 2018
@@ -176,7 +176,12 @@ func (a *Apply) handleObject(obj *unstructured.Unstructured) (string, error) {
// preprocessObject preprocesses an object for it is applied to the cluster.
func (a *Apply) preprocessObject(obj *unstructured.Unstructured) error {
dm := newDefaultManaged()
Copy link
Collaborator

Choose a reason for hiding this comment

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

dryrun could exit earlier if we early out on a.DryRun before this line instead of doing this and then checking if we needed it.

@bryanl bryanl merged commit c660e1b into ksonnet:master Jul 7, 2018
@bryanl bryanl deleted the 615-apply-dry-run branch July 7, 2018 01:59
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