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

Generic atomic update code #269

Merged
merged 4 commits into from
Jun 27, 2014
Merged

Conversation

lavalamp
Copy link
Member

Couldn't resist doing a little cleanup before writing a test.

if err != nil {
// Don't strand stuff.
registry.etcdClient.Delete(podKey, false)
Copy link
Contributor

Choose a reason for hiding this comment

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

At least check and log the error here.

Copy link
Contributor

Choose a reason for hiding this comment

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

Also, you dropped the return err from here.

Copy link
Member Author

Choose a reason for hiding this comment

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

check & log err: good idea.

But I'm not dropping the original error. Moved the return to make it more clear.

@lavalamp
Copy link
Member Author

Looks like an unstable map ordering issue from #254 caused this flake-- I'll fix.

@lavalamp
Copy link
Member Author

Added TODO about racy set. Should be good to go now.

brendandburns added a commit that referenced this pull request Jun 27, 2014
@brendandburns brendandburns merged commit 4fdf55e into kubernetes:master Jun 27, 2014
vishh pushed a commit to vishh/kubernetes that referenced this pull request Apr 6, 2016
Adding --log_cadvisor_usage flag to log the resource usage of cAdvisor.
keontang pushed a commit to keontang/kubernetes that referenced this pull request May 14, 2016
Sync image to index.caicloud.io and caicloudgcr
keontang pushed a commit to keontang/kubernetes that referenced this pull request Jul 1, 2016
Sync image to index.caicloud.io and caicloudgcr
harryge00 pushed a commit to harryge00/kubernetes that referenced this pull request Aug 11, 2016
Sync image to index.caicloud.io and caicloudgcr
mqliang pushed a commit to mqliang/kubernetes that referenced this pull request Dec 8, 2016
Sync image to index.caicloud.io and caicloudgcr
mqliang pushed a commit to mqliang/kubernetes that referenced this pull request Mar 3, 2017
Sync image to index.caicloud.io and caicloudgcr
b3atlesfan pushed a commit to b3atlesfan/kubernetes that referenced this pull request Feb 5, 2021
Actually process -m flag in mk-docker-opts.sh
avalluri added a commit to avalluri/kubernetes that referenced this pull request May 2, 2021
This is a first step towards removing the mock CSI driver completely from
e2e testing in favor of hostpath plugin. With the recent hostpath plugin
changes(PR kubernetes#260, kubernetes#269), it supports all the features supported by the mock
csi driver.

Using hostpath-plugin for testing also covers CSI persistent feature
usecases.
pohly pushed a commit to pohly/kubernetes that referenced this pull request Dec 2, 2021
This is a first step towards removing the mock CSI driver completely from
e2e testing in favor of hostpath plugin. With the recent hostpath plugin
changes(PR kubernetes#260, kubernetes#269), it supports all the features supported by the mock
csi driver.

Using hostpath-plugin for testing also covers CSI persistent feature
usecases.
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