-
Notifications
You must be signed in to change notification settings - Fork 619
Commit
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,3 +71,10 @@ func ValidateRequiredProperties(actualProperties map[string]string, requiredProp | |
} | ||
return nil | ||
} | ||
|
||
func ValidateFileSystemType(filesystemType string) error { | ||
This comment has been minimized.
Sorry, something went wrong. |
||
if !AllowedFSTypes[filesystemType] { | ||
This comment has been minimized.
Sorry, something went wrong.
xxx0624
Contributor
|
||
return errors.Errorf("invalid file system type: %s", filesystemType) | ||
} | ||
return nil | ||
} |
Can we have some comments about this optional property?