File tree 2 files changed +2
-4
lines changed
2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -17,12 +17,13 @@ package opengemini
17
17
import "errors"
18
18
19
19
var (
20
+ ErrAllServersDown = errors .New ("all servers down" )
20
21
ErrEmptyDatabaseName = errors .New ("empty database name" )
21
- ErrRetentionPolicy = errors .New ("empty retention policy" )
22
22
ErrEmptyMeasurement = errors .New ("empty measurement" )
23
23
ErrEmptyCommand = errors .New ("empty command" )
24
24
ErrEmptyTagOrField = errors .New ("empty tag or field" )
25
25
ErrEmptyTagKey = errors .New ("empty tag key" )
26
+ ErrRetentionPolicy = errors .New ("empty retention policy" )
26
27
)
27
28
28
29
// checkDatabaseName checks if the database name is empty and returns an error if it is.
Original file line number Diff line number Diff line change @@ -16,13 +16,10 @@ package opengemini
16
16
17
17
import (
18
18
"context"
19
- "errors"
20
19
"sync"
21
20
"time"
22
21
)
23
22
24
- var ErrAllServersDown = errors .New ("all servers down" )
25
-
26
23
const (
27
24
healthCheckPeriod = time .Second * 10
28
25
)
You can’t perform that action at this time.
0 commit comments