func (r *Manager) Initialize() {
	c := reflector.Client{}
	r.uploader = &c

	err := r.uploader.Connect(r.reflector)
	if err != nil {
		logger.Log().Errorf("reflection was NOT initialized: %v", err)
		return
	}
	defer r.uploader.Close()

	f, err := os.Open(r.blobsPath)
	if err != nil {
		logger.Log().Errorf("reflection was NOT initialized: %v", err)
		return
	}
	defer f.Close()

	r.isInitialized = true
	logger.Log().Infof("manager initialized")
}
// Initialize connects to the reflector database
Initialize connects to the reflector database
// Initialize connects to the reflector database
func (r *Manager) Initialize() {
	c := reflector.Client{}
	r.uploader = &c
	err := r.uploader.Connect(r.reflector)
	if err != nil {
		logger.Log().Errorf("reflection was NOT initialized: %v", err)
		return
	}
	defer r.uploader.Close()
	f, err := os.Open(r.blobsPath)
	if err != nil {
		logger.Log().Errorf("reflection was NOT initialized: %v", err)
		return
	}
	defer f.Close()
	r.isInitialized = true
	logger.Log().Infof("manager initialized")
}
func ( r * Manager ) Initialize ( ) { c := reflector . Client { } r . uploader = & c err := r . uploader . Connect ( r . reflector ) if err != nil { logger . Log ( ) . Errorf ( " " , err ) return } defer r . uploader . Close ( ) f , err := os . Open ( r . blobsPath ) if err != nil { logger . Log ( ) . Errorf ( " " , err ) return } defer f . Close ( ) r . isInitialized = true logger . Log ( ) . Infof ( " " ) }
Initialize connects to the reflector database
Initialize connects to the reflector database