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

actuators/machine: Fix "Coud" -> "Could" typo #23

Merged
merged 1 commit into from
Sep 24, 2018

Conversation

wking
Copy link
Member

@wking wking commented Sep 23, 2018

Fix the misspelling from cd386e4 (#14).

I also like to downcase these to conform to the Go error guidelines, although as discussed there that's not required for logs. But in this commit I've left it for consistency with the package's other logs:

$ sudo crictl logs --tail 5 06c3b913cf5e2
I0923 05:25:10.018081       1 controller.go:123] reconciling machine object worker-f55vm triggers idempotent create.
I0923 05:25:10.022519       1 actuator.go:46] Creating machine "worker-f55vm" for cluster "trking-01e8e".
I0923 05:25:10.032481       1 logs.go:41] [INFO] Created libvirt client
I0923 05:25:10.032512       1 logs.go:41] [DEBUG] Create a libvirt volume with name worker-f55vm for pool default from the base volume /var/lib/libvirt/images/coreos_base
E0923 05:25:10.040398       1 actuator.go:50] Coud not create libvirt machine: error creating volume: Can't retrieve volume /var/lib/libvirt/images/coreos_base

Reported by @mrogers950.

Fix the misspelling from cd386e4 (Always log errors creating machines
and volumes, 2018-09-12, openshift#14).

I also like to downcase these to conform to [1], although as discussed
there that's not required for logs.  But in this commit I've left it
for consistency with the package's other logs:

  $ sudo crictl logs --tail 5 06c3b913cf5e2
  I0923 05:25:10.018081       1 controller.go:123] reconciling machine object worker-f55vm triggers idempotent create.
  I0923 05:25:10.022519       1 actuator.go:46] Creating machine "worker-f55vm" for cluster "trking-01e8e".
  I0923 05:25:10.032481       1 logs.go:41] [INFO] Created libvirt client
  I0923 05:25:10.032512       1 logs.go:41] [DEBUG] Create a libvirt volume with name worker-f55vm for pool default from the base volume /var/lib/libvirt/images/coreos_base
  E0923 05:25:10.040398       1 actuator.go:50] Coud not create libvirt machine: error creating volume: Can't retrieve volume /var/lib/libvirt/images/coreos_base

[1]: https://github.com/golang/go/wiki/CodeReviewComments#error-strings

Reported-by: Matt Rogers <mrogers@redhat.com>
@openshift-ci-robot openshift-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Sep 23, 2018
@spangenberg
Copy link
Contributor

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Sep 24, 2018
@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: spangenberg, wking

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

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 24, 2018
@openshift-merge-robot openshift-merge-robot merged commit c1190ba into openshift:master Sep 24, 2018
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. 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.

4 participants