8000 Systemd returns error on inactive, so allow that by afbjorklund · Pull Request #4095 · kubernetes/minikube · GitHub
[go: up one dir, main page]

Skip to content

Systemd returns error on inactive, so allow that - #4095

Merged
tstromberg merged 1 commit into
kubernetes:masterfrom
afbjorklund:is-active
Apr 22, 2019
Merged

tstromberg merged 1 commit into
kubernetes:masterfrom
afbjorklund:is-active

Conversation

@afbjorklund
Copy link
Copy Markdown
Collaborator

The SSH infrastructure currently doesn't handle when the command
is supposed to return an error, so allow this case explicitly.

Closes #4092

The SSH infrastructure currently doesn't handle when the command
is _supposed_ to return an error, so allow this case explicitly.
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Apr 14, 2019
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: afbjorklund

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

The pull request process is described here

Details 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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 14, 2019
Comment thread cmd/minikube/cmd/env.go
}

// same as host.RunSSHCommand, but allows errors
func runSSHCommand(h *host.Host, command string) (string, error) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Adding a one-line function to call another new function seems weird. Can they be combined?

@tstromberg tstromberg self-assigned this Apr 16, 2019
@tstromberg
tstromberg merged commit 74060aa into kubernetes:master Apr 22, 2019
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. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Running systemctl over the new ssh driver fails

3 participants

0