提交 f6148eb2 编写于 作者: H Helin Wang

rename getChunks to readChunks

上级 9bd74dda
...@@ -99,7 +99,7 @@ func (s *Service) snapshot() error { ...@@ -99,7 +99,7 @@ func (s *Service) snapshot() error {
return nil return nil
} }
func getChunks(globPaths []string) ([]Chunk, error) { func readChunks(globPaths []string) ([]Chunk, error) {
var chunks []Chunk var chunks []Chunk
var paths []string var paths []string
...@@ -161,7 +161,7 @@ func (s *Service) SetDataset(globPaths []string, dummy *int) error { ...@@ -161,7 +161,7 @@ func (s *Service) SetDataset(globPaths []string, dummy *int) error {
return nil return nil
} }
chunks, err := getChunks(globPaths) chunks, err := readChunks(globPaths)
if err != nil { if err != nil {
return err return err
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册