Commit 6c414f96 authored by Mark Tyneway's avatar Mark Tyneway

lint: fix

parent bc14d170
...@@ -67,9 +67,9 @@ func (s *StorageLayout) GetStorageLayoutEntry(name string) (StorageLayoutEntry, ...@@ -67,9 +67,9 @@ func (s *StorageLayout) GetStorageLayoutEntry(name string) (StorageLayoutEntry,
// GetStorageLayoutType returns the StorageLayoutType where the label matches // GetStorageLayoutType returns the StorageLayoutType where the label matches
// the provided name. // the provided name.
func (s *StorageLayout) GetStorageLayoutType(name string) (StorageLayoutType, error) { func (s *StorageLayout) GetStorageLayoutType(name string) (StorageLayoutType, error) {
if ty, ok := s.Types[name]; ok { if ty, ok := s.Types[name]; ok {
return ty, nil return ty, nil
} }
return StorageLayoutType{}, fmt.Errorf("%s not found", name) return StorageLayoutType{}, fmt.Errorf("%s not found", name)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment