returnfmt.Errorf("cluster-reset was successfully performed, please remove the cluster-reset flag and start %s normally, if you need to perform another cluster reset, you must first manually delete the %s file",version.Program,resetFile)
rebootstrap:=func()error{
returnc.storageBootstrap(ctx)
}
returnc.managedDB.Reset(ctx,rebootstrap)
}
returnfmt.Errorf("cluster-reset was successfully performed, please remove the cluster-reset flag and start %s normally, if you need to perform another cluster reset, you must first manually delete the %s file",version.Program,resetFile)
}
// removing the reset file and ignore error if the file doesn't exist