fix misspell "resources" in content/store.go

Signed-off-by: fate-grand-order <chenjg@harmonycloud.cn>
This commit is contained in:
fate-grand-order 2017-03-17 10:41:24 +08:00
parent e8622f970d
commit 680e191c91

View file

@ -291,7 +291,7 @@ func (s *Store) Writer(ctx context.Context, ref string, total int64, expected di
} }
// Abort an active transaction keyed by ref. If the ingest is active, it will // Abort an active transaction keyed by ref. If the ingest is active, it will
// be cancelled. Any resoures associated with the ingest will be cleaned. // be cancelled. Any resources associated with the ingest will be cleaned.
func (s *Store) Abort(ref string) error { func (s *Store) Abort(ref string) error {
root := s.ingestRoot(ref) root := s.ingestRoot(ref)
if err := os.RemoveAll(root); err != nil { if err := os.RemoveAll(root); err != nil {