Skip to content

Commit

Permalink
Fix typos in comments
Browse files Browse the repository at this point in the history
Longhorn 2187

Signed-off-by: Eric Weber <eric.weber@suse.com>
  • Loading branch information
ejweber committed May 10, 2024
1 parent 0495a64 commit 1167971
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile.dapper
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ ENV DAPPER_DOCKER_SOCKET true
ENV DAPPER_ENV TAG REPO DRONE_REPO DRONE_PULL_REQUEST DRONE_COMMIT_REF SKIP_TASKS
ENV DAPPER_OUTPUT bin coverage.out
# For filesystem freeze tests, our container must be able to see the filesystem mounted in the host mount namespace.
# Usually, instance-manager runs with the equivalent of "-v /:/host". For integration testing, use "-v /tmp:host/tmp"
# Usually, instance-manager runs with the equivalent of "-v /:/host". For integration testing, use "-v /tmp:/host/tmp"
# and mount filesystems to /tmp to simulate this without bind mounting everything.
ENV DAPPER_RUN_ARGS --privileged --tmpfs /go/src/github.com/longhorn/longhorn-engine/integration/.venv:exec --tmpfs /go/src/github.com/longhorn/longhorn-engine/integration/.tox:exec -v /dev:/host/dev -v /proc:/host/proc --mount type=bind,source=/tmp,destination=/host/tmp,bind-propagation=rslave
ENV DAPPER_SOURCE /go/src/github.com/longhorn/longhorn-engine
Expand Down
2 changes: 1 addition & 1 deletion pkg/controller/control.go
Original file line number Diff line number Diff line change
Expand Up @@ -1384,7 +1384,7 @@ func tryFreeze(devicePath string, freezePoint string, mounter mount.Interface, e
}
mounted = true

// We must verify it is still save to freeze the filesystem. If the source mount was unmounted by someone else
// We must verify it is still safe to freeze the filesystem. If the source mount was unmounted by someone else
// before we bind mounted, the bind mount could refer to the root filesystem.
var device string
device, _, err = mount.GetDeviceNameFromMount(mounter, freezePoint)
Expand Down

0 comments on commit 1167971

Please sign in to comment.