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

fix: typo #168

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion envvars.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ const (

// EnvVarDisableFieldLen is the name of the environment variable used
// to determine whether or not to disable validation of CSI request and
// response field lengths against the permitted lenghts defined in the spec
// response field lengths against the permitted lengths defined in the spec
EnvVarDisableFieldLen = "X_CSI_SPEC_DISABLE_LEN_CHECK"

// EnvVarRequireStagingTargetPath is the name of the environment variable
Expand Down
4 changes: 2 additions & 2 deletions utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ func ParseMapWS(line string) map[string]string {
}
case '=':
// If the word buffer is currently the key buffer,
// quoting is not enabled, and the preceeding character
// quoting is not enabled, and the preceding character
// is not the escape character then the equal sign indicates
// a transition from key to value.
if word == keyb && quot == 0 && !escp {
Expand All @@ -237,7 +237,7 @@ func ParseMapWS(line string) map[string]string {
continue
}
case ' ', '\t':
// If quoting is not enabled and the preceeding character is
// If quoting is not enabled and the preceding character is
// not the escape character then record the value into the
// map and fast-forward the cursor to the next, non-whitespace
// character.
Expand Down