Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions pkg/adaptation/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ import (
//

// Aliased request/response/event types for api/api.proto.
// nolint
type (
RegisterPluginRequest = api.RegisterPluginRequest
RegisterPluginResponse = api.Empty
Expand Down Expand Up @@ -102,7 +101,8 @@ type (
)

// Aliased consts for api/api.proto.
// nolint
//
//nolint:revive // ignore const naming from auto-generated code
const (
Event_UNKNOWN = api.Event_UNKNOWN
Event_RUN_POD_SANDBOX = api.Event_RUN_POD_SANDBOX
Expand Down Expand Up @@ -134,7 +134,6 @@ const (
)

// Aliased types for api/optional.go.
// nolint
type (
OptionalString = api.OptionalString
OptionalInt = api.OptionalInt
Expand All @@ -147,7 +146,6 @@ type (
)

// Aliased functions for api/optional.go.
// nolint
var (
String = api.String
Int = api.Int
Expand All @@ -160,7 +158,6 @@ var (
)

// Aliased functions for api/types.go.
// nolint
var (
FromOCIMounts = api.FromOCIMounts
FromOCIHooks = api.FromOCIHooks
Expand Down
1 change: 0 additions & 1 deletion pkg/api/event.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ const (
ValidEvents = EventMask((1 << (Event_LAST - 1)) - 1)
)

// nolint
type (
// Define *Request/*Response type aliases for *Event/Empty pairs.

Expand Down
1 change: 0 additions & 1 deletion pkg/net/multiplex/mux.go
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,6 @@ func (m *mux) setError(err error) {
})
}

// nolint
func (m *mux) error() error {
m.errOnce.Do(func() {
if m.err == nil {
Expand Down
Loading