File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 99 "github.com/PythonHacker24/linux-acl-management-backend/config"
1010 "github.com/PythonHacker24/linux-acl-management-backend/internal/session"
1111 "github.com/PythonHacker24/linux-acl-management-backend/internal/transprocessor"
12+ "github.com/PythonHacker24/linux-acl-management-backend/internal/types"
1213)
1314
1415/* spawns a new FCFS scheduler */
@@ -73,7 +74,7 @@ func (f *FCFSScheduler) Run(ctx context.Context) error {
7374 f .semaphore <- struct {}{}
7475
7576 /* go routine is available to be spawned */
76- go func (curSession * session.Session , transaction interface {} ) {
77+ go func (curSession * session.Session , transaction types. Transaction ) {
7778 /* defer clearing the semaphore channel */
7879 defer func () { <- f .semaphore }()
7980
@@ -88,7 +89,7 @@ func (f *FCFSScheduler) Run(ctx context.Context) error {
8889 zap .Error (err ),
8990 )
9091 }
91- }(curSession , transaction )
92+ }(curSession , transaction .(types. Transaction ) )
9293 }
9394 }
9495}
You can’t perform that action at this time.
0 commit comments