Revert "Update runc to 1.0.0"
This commit is contained in:
4
vendor/github.com/cilium/ebpf/link/program.go
generated
vendored
4
vendor/github.com/cilium/ebpf/link/program.go
generated
vendored
@@ -43,7 +43,7 @@ func RawAttachProgram(opts RawAttachProgramOptions) error {
|
||||
}
|
||||
|
||||
if err := internal.BPFProgAttach(&attr); err != nil {
|
||||
return fmt.Errorf("can't attach program: %w", err)
|
||||
return fmt.Errorf("can't attach program: %s", err)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
@@ -69,7 +69,7 @@ func RawDetachProgram(opts RawDetachProgramOptions) error {
|
||||
AttachType: uint32(opts.Attach),
|
||||
}
|
||||
if err := internal.BPFProgDetach(&attr); err != nil {
|
||||
return fmt.Errorf("can't detach program: %w", err)
|
||||
return fmt.Errorf("can't detach program: %s", err)
|
||||
}
|
||||
|
||||
return nil
|
||||
|
Reference in New Issue
Block a user