Skip to content

Commit

Permalink
chore(prog): deprecate BPFProgType.Value()
Browse files Browse the repository at this point in the history
  • Loading branch information
geyslan committed Oct 26, 2023
1 parent 5e4fbbb commit bc215c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions prog-common.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ const (
BPFProgTypeSyscall
)

// Deprecated: Convert type directly instead.
func (b BPFProgType) Value() uint64 { return uint64(b) }

func (b BPFProgType) String() (str string) {
Expand Down

0 comments on commit bc215c4

Please sign in to comment.