Skip to content

Commit

Permalink
seccomp_unsupported.go: Fix lint issues
Browse files Browse the repository at this point in the history
Added missing dots at the end of comments and ran through gofumpt.

Signed-off-by: Michal Sieron <michalwsieron@gmail.com>
  • Loading branch information
michalsieron committed Oct 16, 2024
1 parent 7849e3e commit a271b4a
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions internal/config/seccomp/seccomp_unsupported.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,18 @@ import (
types "k8s.io/cri-api/pkg/apis/runtime/v1"
)

// Config is the global seccomp configuration type
// Config is the global seccomp configuration type.
type Config struct {
enabled bool
}

// Notifier wraps a seccomp notifier instance for a container.
type Notifier struct {
}
type Notifier struct{}

// Notification is a seccomp notification which gets sent to the CRI-O server.
type Notification struct {
}
type Notification struct{}

// New creates a new default seccomp configuration instance
// New creates a new default seccomp configuration instance.
func New() *Config {
return &Config{
enabled: false,
Expand Down Expand Up @@ -110,10 +108,11 @@ func (c *Config) IsDisabled() bool {
return true
}

// Profile returns the currently loaded seccomp profile
// Profile returns the currently loaded seccomp profile.
func (c *Config) Profile() *seccomp.Seccomp {
return nil
}

func DefaultProfile() *seccomp.Seccomp {
return nil
}

0 comments on commit a271b4a

Please sign in to comment.