Skip to content

Commit

Permalink
cgidmap: fix initialization bug
Browse files Browse the repository at this point in the history
Fixes: 0227f5d ("process: resolve pods with cgidmap")

Signed-off-by: Kornilios Kourtis <kornilios@isovalent.com>
  • Loading branch information
kkourt committed Aug 21, 2024
1 parent f284f72 commit 89a17cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cgidmap/cgidmap.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ func GlobalMap() (Map, error) {
}

glMap, glError = newMap()
if glError != nil {
if glError == nil {
glMap.log.Info("cgidmap initialized")
} else {
glMap.log.WithError(glError).Warn("cgidmap initialization failed")
Expand Down

0 comments on commit 89a17cf

Please sign in to comment.