Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: SyncOperationResult namespace field should be optional #3742

Merged
merged 1 commit into from Jun 10, 2020

Conversation

alexmt
Copy link
Collaborator

@alexmt alexmt commented Jun 10, 2020

The recently introduced namespace field of SyncOperationResource data structure must be optional. Otherwise controller unable to update existing applications.

@codecov
Copy link

codecov bot commented Jun 10, 2020

Codecov Report

Merging #3742 into master will decrease coverage by 0.11%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3742      +/-   ##
==========================================
- Coverage   41.80%   41.68%   -0.12%     
==========================================
  Files         116      116              
  Lines       16642    16642              
==========================================
- Hits         6957     6938      -19     
- Misses       8782     8805      +23     
+ Partials      903      899       -4     
Impacted Files Coverage Δ
pkg/apis/application/v1alpha1/types.go 62.03% <ø> (ø)
controller/appcontroller.go 43.72% <0.00%> (-2.37%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3117a2c...1b200ee. Read the comment docs.

Copy link
Contributor

@mayzhang2000 mayzhang2000 left a comment

Choose a reason for hiding this comment

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

LGTM

@alexmt alexmt merged commit e143fb4 into argoproj:master Jun 10, 2020
@@ -9,7 +9,7 @@ GIT_COMMIT=$(shell git rev-parse HEAD)
GIT_TAG=$(shell if [ -z "`git status --porcelain`" ]; then git describe --exact-match --tags HEAD 2>/dev/null; fi)
GIT_TREE_STATE=$(shell if [ -z "`git status --porcelain`" ]; then echo "clean" ; else echo "dirty"; fi)
PACKR_CMD=$(shell if [ "`which packr`" ]; then echo "packr"; else echo "go run github.com/gobuffalo/packr/packr"; fi)
VOLUME_MOUNT=$(shell if test "$(go env GOOS)" = "darwin"; then echo ":delegated"; elif test selinuxenabled; then echo ":Z"; else echo ""; fi)
VOLUME_MOUNT=$(shell if test "$(go env GOOS)" = "darwin"; then echo ":delegated"; elif test selinuxenabled; then echo ":delegated"; else echo ""; fi)
Copy link
Member

Choose a reason for hiding this comment

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

Uhm, why?

@alexmt alexmt deleted the crd-namespace-optional branch September 4, 2020 21:30
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.

None yet

3 participants