mirror of
https://github.com/moby/moby.git
synced 2026-07-25 00:37:00 +00:00
daemon: createCDICache: fix error-capitalization
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@@ -66,7 +66,7 @@ func newCDIDeviceDriver(cdiSpecDirs ...string) *deviceDriver {
|
||||
// If the list of CDI specification directories is empty or the creation of the CDI cache fails, an error is returned.
|
||||
func createCDICache(cdiSpecDirs ...string) (*cdi.Cache, error) {
|
||||
if len(cdiSpecDirs) == 0 {
|
||||
return nil, fmt.Errorf("No CDI specification directories specified")
|
||||
return nil, fmt.Errorf("no CDI specification directories specified")
|
||||
}
|
||||
|
||||
cache, err := cdi.NewCache(cdi.WithSpecDirs(cdiSpecDirs...))
|
||||
|
||||
Reference in New Issue
Block a user