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

keadm: optimize keadm_e2e.sh cleanup function #2469

Merged
merged 1 commit into from
Dec 28, 2020
Merged

keadm: optimize keadm_e2e.sh cleanup function #2469

merged 1 commit into from
Dec 28, 2020

Conversation

yf4n
Copy link
Member

@yf4n yf4n commented Dec 27, 2020

What type of PR is this?

/kind bug

What this PR does / why we need it:
Shell use set -Ee. So the shell will exit if any subcommand or pipeline returns a non-zero status.

sudo pkill cloudcore/edgecore will return code 1 if the process not running, then the shell may exit unexpected.

Which issue(s) this PR fixes:

NONE

Does this PR introduce a user-facing change?:

NONE

@kubeedge-bot kubeedge-bot added the kind/bug Categorizes issue or PR as related to a bug. label Dec 27, 2020
@kubeedge-bot kubeedge-bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Dec 27, 2020
@daixiang0
Copy link
Member

lgtm

@fisherxu
Copy link
Member

/lgtm
/approve

@kubeedge-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: fisherxu

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubeedge-bot kubeedge-bot added lgtm Indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Dec 28, 2020
@kubeedge-bot kubeedge-bot merged commit c3dbe5f into kubeedge:master Dec 28, 2020
@yf4n yf4n deleted the bugs/optimize-keadm-e2e-cleanup-func branch December 30, 2020 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/bug Categorizes issue or PR as related to a bug. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants