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