assign properly
This commit is contained in:
@@ -60,7 +60,7 @@ func MainApp(configPath string) {
|
|||||||
|
|
||||||
var repairPool *ants.Pool
|
var repairPool *ants.Pool
|
||||||
if config.EnableRepair() {
|
if config.EnableRepair() {
|
||||||
repairPool, err := ants.NewPool(1)
|
repairPool, err = ants.NewPool(1)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
zurglog.Errorf("Failed to create repair pool: %v", err)
|
zurglog.Errorf("Failed to create repair pool: %v", err)
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
|
|||||||
Reference in New Issue
Block a user