Mirantis/virtlet

View on GitHub

Showing 52 of 52 total issues

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

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

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

type FakeFileSystem struct {
Severity: Minor
Found in pkg/fs/fake/fakefs.go by golint

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

    RTPROT_KERNEL  = syscall.RTPROT_KERNEL
Severity: Minor
Found in pkg/nettools/nettools_linux.go by golint

exported type TestCommand should have comment or be unexported
Open

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

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

/*
Severity: Minor
Found in pkg/flexvolume/flexvolume.go by gofmt

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

    FAMILY_V4      = netlink.FAMILY_V4
Severity: Minor
Found in pkg/nettools/nettools_linux.go by golint

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

func (tc *TestCommand) Stop() {
Severity: Minor
Found in pkg/utils/testing/runprocess.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 cmd/virtlet/pdeathsig_unsupported.go by gofmt

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

// +build !ignore_autogenerated

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

/*
Severity: Minor
Found in pkg/nettools/nettools.go by gofmt

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

/*
Severity: Minor
Found in pkg/utils/waitproc.go by gofmt
Severity
Category
Status
Source
Language