Skip to content

Check for existing service-binding before adding#273

Merged
chenbh merged 1 commit intobuildpacks-community:mainfrom
pksheldon4:feature/allow-service-bindings-during-save
Dec 6, 2022
Merged

Check for existing service-binding before adding#273
chenbh merged 1 commit intobuildpacks-community:mainfrom
pksheldon4:feature/allow-service-bindings-during-save

Conversation

@pksheldon4
Copy link
Contributor

This fixes a bug where you can't use kp image save with a --service-binding if the Image Resource already included this service-binding. This was being handled for the --env option.

@pksheldon4
Copy link
Contributor Author

Fixes: Allow Service Bindings using patch/save in kpack CLI #274

@chenbh chenbh linked an issue Dec 1, 2022 that may be closed by this pull request
@pksheldon4 pksheldon4 force-pushed the feature/allow-service-bindings-during-save branch from 2429867 to 413181d Compare December 5, 2022 22:57
@pksheldon4
Copy link
Contributor Author

@chenbh - I made the change you requested.

Copy link
Contributor

@chenbh chenbh left a comment

Choose a reason for hiding this comment

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

LGTM

@chenbh
Copy link
Contributor

chenbh commented Dec 6, 2022

Thanks!

@chenbh chenbh merged commit ad77f71 into buildpacks-community:main Dec 6, 2022
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.

Duplicate service-bindings are not ignored during patch/save

2 participants