Skip to content

Commit

Permalink
github.com/Sirupsen/logrus to github.com/sirupsen/logrus
Browse files Browse the repository at this point in the history
  • Loading branch information
DL186038 committed Jun 11, 2019
1 parent a06af65 commit 1e3a6d1
Show file tree
Hide file tree
Showing 175 changed files with 176 additions and 176 deletions.
2 changes: 1 addition & 1 deletion cmd/docker/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"fmt"
"os"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"
apiserver "github.com/docker/docker/api/server"
"github.com/docker/docker/api/server/middleware"
"github.com/docker/docker/api/server/router"
Expand Down
2 changes: 1 addition & 1 deletion cmd/imagec/hook.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"fmt"
"io"

"github.com/Sirupsen/logrus"
"github.com/sirupsen/logrus"
)

// ErrorHook is a simple logrus hook to duplicate Fatalf leveled error messages to stderr
Expand Down
2 changes: 1 addition & 1 deletion cmd/imagec/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
"sync"
"time"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"
"github.com/docker/docker/pkg/streamformatter"
"github.com/docker/docker/reference"
"github.com/docker/docker/registry"
Expand Down
2 changes: 1 addition & 1 deletion cmd/port-layer-server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"os/signal"
"syscall"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"
"github.com/go-openapi/loads"
"github.com/jessevdk/go-flags"

Expand Down
2 changes: 1 addition & 1 deletion cmd/rpctool/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"fmt"
"os"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"

"github.com/vmware/vic/pkg/trace"
"github.com/vmware/vic/pkg/version"
Expand Down
2 changes: 1 addition & 1 deletion cmd/tether/attach.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"sync/atomic"
"time"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"
"golang.org/x/crypto/ssh"

"github.com/vmware/vic/lib/migration/feature"
Expand Down
2 changes: 1 addition & 1 deletion cmd/tether/attach_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (

"golang.org/x/crypto/ssh/terminal"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"

"github.com/vmware/vic/lib/tether/msgs"
"github.com/vmware/vic/pkg/serial"
Expand Down
2 changes: 1 addition & 1 deletion cmd/tether/attach_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import (
"testing"
"time"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"
"github.com/stretchr/testify/assert"
"golang.org/x/crypto/ssh"

Expand Down
2 changes: 1 addition & 1 deletion cmd/tether/entropy_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"path"
"strings"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"

"github.com/vmware/vic/lib/tether"
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/tether/main_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"strings"
"syscall"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"

"github.com/vmware/vic/lib/tether"
viclog "github.com/vmware/vic/pkg/log"
Expand Down
2 changes: 1 addition & 1 deletion cmd/tether/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"syscall"
"testing"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"
"github.com/stretchr/testify/assert"

"github.com/vmware/vic/lib/tether"
Expand Down
2 changes: 1 addition & 1 deletion cmd/tether/ops_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"strings"
"syscall"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"
"golang.org/x/crypto/ssh/terminal"
"golang.org/x/sys/unix"

Expand Down
2 changes: 1 addition & 1 deletion cmd/tether/ops_linux_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"syscall"
"testing"

"github.com/Sirupsen/logrus"
"github.com/sirupsen/logrus"
"github.com/stretchr/testify/require"
"github.com/vishvananda/netlink"

Expand Down
2 changes: 1 addition & 1 deletion cmd/tether/tether_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
"sync"
"testing"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"
"github.com/vishvananda/netlink"
"golang.org/x/crypto/ssh"

Expand Down
2 changes: 1 addition & 1 deletion cmd/vic-dns/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"runtime/debug"
"syscall"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"

"github.com/vmware/vic/lib/dns"
vlog "github.com/vmware/vic/pkg/log"
Expand Down
2 changes: 1 addition & 1 deletion cmd/vic-init/main_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"syscall"
"time"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"
"github.com/vishvananda/netlink"

"github.com/vmware/govmomi/toolbox"
Expand Down
2 changes: 1 addition & 1 deletion cmd/vic-init/ops.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"syscall"
"time"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"

"github.com/vmware/vic/lib/pprof"
"github.com/vmware/vic/lib/tether"
Expand Down
2 changes: 1 addition & 1 deletion cmd/vic-init/ops_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"fmt"
"io/ioutil"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"
"github.com/docker/libnetwork/iptables"
"github.com/vishvananda/netlink"

Expand Down
2 changes: 1 addition & 1 deletion cmd/vic-init/tether_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"runtime"
"testing"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"
"golang.org/x/crypto/ssh"

"github.com/vmware/govmomi/vim25/types"
Expand Down
2 changes: 1 addition & 1 deletion cmd/vic-init/toolbox.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import (
"github.com/vmware/vic/pkg/trace"
"github.com/vmware/vic/pkg/vsphere/diag"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"
)

// startCommand is the switch for the synthetic commands that are permitted within the appliance.
Expand Down
2 changes: 1 addition & 1 deletion cmd/vic-machine/common/certificate_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"os"
"testing"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"
"github.com/stretchr/testify/assert"

"github.com/vmware/vic/pkg/trace"
Expand Down
2 changes: 1 addition & 1 deletion cmd/vic-machine/common/images_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"os"
"testing"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"
"gopkg.in/urfave/cli.v1"

"github.com/vmware/vic/pkg/trace"
Expand Down
2 changes: 1 addition & 1 deletion cmd/vic-machine/common/operation.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package common
import (
"context"

"github.com/Sirupsen/logrus"
"github.com/sirupsen/logrus"
"gopkg.in/urfave/cli.v1"

"github.com/vmware/vic/pkg/trace"
Expand Down
2 changes: 1 addition & 1 deletion cmd/vic-machine/converter/converter.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"strconv"
"strings"

"github.com/Sirupsen/logrus"
"github.com/sirupsen/logrus"

"github.com/vmware/govmomi/vim25/types"
"github.com/vmware/vic/cmd/vic-machine/common"
Expand Down
2 changes: 1 addition & 1 deletion cmd/vic-machine/inspect/inspect.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"strings"
"time"

"github.com/Sirupsen/logrus"
"github.com/sirupsen/logrus"
"gopkg.in/urfave/cli.v1"

"github.com/vmware/vic/cmd/vic-machine/common"
Expand Down
2 changes: 1 addition & 1 deletion cmd/vic-machine/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"path/filepath"
runtime "runtime/debug"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"
"gopkg.in/urfave/cli.v1"

"github.com/vmware/vic/cmd/vic-machine/common"
Expand Down
2 changes: 1 addition & 1 deletion cmd/vicadmin/logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import (

"context"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"
"github.com/hpcloud/tail"

"path/filepath"
Expand Down
2 changes: 1 addition & 1 deletion cmd/vicadmin/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import (

"context"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"
"github.com/docker/go-connections/tlsconfig"
"github.com/google/uuid"
gorillacontext "github.com/gorilla/context"
Expand Down
2 changes: 1 addition & 1 deletion cmd/vicadmin/usersession.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (

"context"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"
"github.com/gorilla/securecookie"
"github.com/gorilla/sessions"

Expand Down
2 changes: 1 addition & 1 deletion cmd/vicadmin/vicadm.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import (

"context"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"

"github.com/vmware/govmomi"
"github.com/vmware/govmomi/object"
Expand Down
2 changes: 1 addition & 1 deletion lib/apiservers/engine/backends/archive.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (

"golang.org/x/net/context"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"
"github.com/tchap/go-patricia/patricia"

"github.com/vmware/vic/lib/apiservers/engine/backends/cache"
Expand Down
2 changes: 1 addition & 1 deletion lib/apiservers/engine/backends/archive_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"context"
"testing"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"
"github.com/docker/docker/api/types"
"github.com/stretchr/testify/assert"

Expand Down
2 changes: 1 addition & 1 deletion lib/apiservers/engine/backends/backends.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"sync"
"time"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"
"github.com/docker/docker/daemon/events"
"github.com/go-openapi/runtime"
rc "github.com/go-openapi/runtime/client"
Expand Down
2 changes: 1 addition & 1 deletion lib/apiservers/engine/backends/cache/container_cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"fmt"
"sync"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"

derr "github.com/docker/docker/api/errors"
"github.com/docker/docker/pkg/truncindex"
Expand Down
2 changes: 1 addition & 1 deletion lib/apiservers/engine/backends/cache/image_cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"strings"
"sync"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"

"github.com/docker/distribution/digest"
derr "github.com/docker/docker/api/errors"
Expand Down
2 changes: 1 addition & 1 deletion lib/apiservers/engine/backends/cache/repo_cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
"github.com/docker/distribution/digest"
"github.com/docker/docker/reference"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"
)

// repoCache is a cache of the docker repository information.
Expand Down
2 changes: 1 addition & 1 deletion lib/apiservers/engine/backends/commit.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
"strings"
"time"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"

"github.com/docker/distribution/digest"
"github.com/docker/docker/api/types"
Expand Down
2 changes: 1 addition & 1 deletion lib/apiservers/engine/backends/commit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"path"
"testing"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"
"github.com/docker/docker/api/types/backend"
"github.com/stretchr/testify/assert"

Expand Down
2 changes: 1 addition & 1 deletion lib/apiservers/engine/backends/container.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (

"golang.org/x/net/context"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"
derr "github.com/docker/docker/api/errors"
"github.com/docker/docker/api/types"
"github.com/docker/docker/api/types/backend"
Expand Down
2 changes: 1 addition & 1 deletion lib/apiservers/engine/backends/convert/annotation.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"encoding/base64"
"encoding/json"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"

"github.com/vmware/vic/lib/apiservers/portlayer/models"
)
Expand Down
2 changes: 1 addition & 1 deletion lib/apiservers/engine/backends/convert/stats.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"sync"
"time"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"

"github.com/docker/docker/api/types"

Expand Down
2 changes: 1 addition & 1 deletion lib/apiservers/engine/backends/endpoint/endpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package endpoint
import (
"fmt"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"
apinet "github.com/docker/docker/api/types/network"
)

Expand Down
2 changes: 1 addition & 1 deletion lib/apiservers/engine/backends/eventmonitor.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (
"strings"
"sync"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"
"golang.org/x/net/context"

"github.com/docker/docker/api/types"
Expand Down
2 changes: 1 addition & 1 deletion lib/apiservers/engine/backends/image.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"strings"
"time"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"

"golang.org/x/net/context"

Expand Down

0 comments on commit 1e3a6d1

Please sign in to comment.