Mirantis/virtlet

View on GitHub

Showing 52 of 52 total issues

exported type TestCommand should have comment or be unexported
Open

type TestCommand struct {
Severity: Minor
Found in pkg/utils/testing/runprocess.go by golint

exported method TestCommand.Pid should have comment or be unexported
Open

func (tc *TestCommand) Pid() int {
Severity: Minor
Found in pkg/utils/testing/runprocess.go by golint

type name will be used as fake.FakeDomainConnection by other packages, and that stutters; consider calling this DomainConnection
Open

type FakeDomainConnection struct {
Severity: Minor
Found in pkg/virt/fake/fake_domain.go by golint

Your code does not pass gofmt in 1 place. Go fmt your code!
Open

// +build !linux

Your code does not pass gofmt in 1 place. Go fmt your code!
Open

// +build !linux
Severity: Minor
Found in pkg/fs/fs_unsupported.go by gofmt

Your code does not pass gofmt in 1 place. Go fmt your code!
Open

// +build linux
Severity: Minor
Found in pkg/nettools/nettools_linux.go by gofmt

Your code does not pass gofmt in 1 place. Go fmt your code!
Open

// +build !linux
Severity: Minor
Found in pkg/nettools/nettools_unsupported.go by gofmt

Your code does not pass gofmt in 1 place. Go fmt your code!
Open

// +build linux
Severity: Minor
Found in pkg/nsfix/nsfix_linux.go by gofmt

don't use ALL_CAPS in Go names; use CamelCase
Open

    RTPROT_KERNEL  = 0
Severity: Minor
Found in pkg/nettools/nettools_unsupported.go by golint

Your code does not pass gofmt in 1 place. Go fmt your code!
Open

// +build linux
Severity: Minor
Found in pkg/stream/utils_linux.go by gofmt

Your code does not pass gofmt in 1 place. Go fmt your code!
Open

// +build linux
Severity: Minor
Found in pkg/utils/netns_linux.go by gofmt

type name will be used as fake.FakeStorageConnection by other packages, and that stutters; consider calling this StorageConnection
Open

type FakeStorageConnection struct {
Severity: Minor
Found in pkg/virt/fake/fake_storage.go by golint
Severity
Category
Status
Source
Language