Skip to content

Commit

Permalink
rootless: do not attempt a CNI refresh
Browse files Browse the repository at this point in the history
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
  • Loading branch information
giuseppe committed Oct 1, 2019
1 parent fc13aa1 commit ec940b0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libpod/container_internal.go
Original file line number Diff line number Diff line change
Expand Up @@ -622,6 +622,10 @@ func (c *Container) refresh() error {
return err
}

if rootless.IsRootless() {
return nil
}

return c.refreshCNI()
}

Expand Down

0 comments on commit ec940b0

Please sign in to comment.