feat: [#491] Fix the errors thrown by Lint/nilaway CI #2519
Annotations
10 errors
Run Nilaway:
support/docker/docker.go#L26
error: Potential nil panic detected. Observed nil flow from source to dereference point:
|
Run Nilaway
literal `nil` returned from `Database()` in position 0
|
Run Nilaway
result 0 of `Database()` returned from `Mysqls()` in position 0
|
Run Nilaway
result 0 of `Mysqls()` sliced into
|
Run Nilaway:
support/docker/docker.go#L26
error: Potential nil panic detected. Observed nil flow from source to dereference point:
|
Run Nilaway
deep read from global variable `containers` lacking guarding; returned from `Database()` in position 0 via the assignment(s):
|
Run Nilaway
result 0 of `Database()` returned from `Mysqls()` in position 0
|
Run Nilaway
result 0 of `Mysqls()` sliced into
|
Run Nilaway:
database/gorm/event.go#L104
error: Potential nil panic detected. Observed nil flow from source to dereference point:
|
Run Nilaway
literal `nil` returned from `getDestOfMap()` in position 0
|
Loading