refactor(api): connect and create store instance on same function #17281
Annotations
7 errors and 6 warnings
validate (cli)
cannot use db (variable of type *"go.mongodb.org/mongo-driver/mongo".Database) as string value in argument to mongo.NewStore (typecheck)
|
validate (cli)
issues found
|
validate (api)
cannot use db (variable of type *"go.mongodb.org/mongo-driver/mongo".Database) as string value in argument to mongo.NewStore (typecheck)
|
validate (api)
issues found
|
validate (tests)
cannot use db (variable of type *"go.mongodb.org/mongo-driver/mongo".Database) as string value in argument to mongo.NewStore
|
validate (tests)
cannot use db (variable of type *"go.mongodb.org/mongo-driver/mongo".Database) as string value in argument to mongo.NewStore
|
validate (tests)
Process completed with exit code 1.
|
validate (agent)
Restore cache failed: Dependencies file is not found in /home/runner/work/shellhub/shellhub. Supported file pattern: go.sum
|
validate (ssh)
Restore cache failed: Dependencies file is not found in /home/runner/work/shellhub/shellhub. Supported file pattern: go.sum
|
validate (cli)
Restore cache failed: Dependencies file is not found in /home/runner/work/shellhub/shellhub. Supported file pattern: go.sum
|
validate (api)
Restore cache failed: Dependencies file is not found in /home/runner/work/shellhub/shellhub. Supported file pattern: go.sum
|
validate (pkg)
Restore cache failed: Dependencies file is not found in /home/runner/work/shellhub/shellhub. Supported file pattern: go.sum
|
validate (tests)
Restore cache failed: Dependencies file is not found in /home/runner/work/shellhub/shellhub. Supported file pattern: go.sum
|