Skip to content
This repository was archived by the owner on Feb 8, 2021. It is now read-only.

Update logrus import case #3

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion config/interpolation.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"fmt"
"strings"

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

func isNum(c uint8) bool {
Expand Down
2 changes: 1 addition & 1 deletion config/merge_v1.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"path"

"github.com/Sirupsen/logrus"
"github.com/sirupsen/logrus"
yaml "github.com/cloudfoundry-incubator/candiedyaml"
"github.com/hyperhq/libcompose/utils"
)
Expand Down
2 changes: 1 addition & 1 deletion config/merge_v2.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"path"

"github.com/Sirupsen/logrus"
"github.com/sirupsen/logrus"
yaml "github.com/cloudfoundry-incubator/candiedyaml"
"github.com/hyperhq/libcompose/utils"
)
Expand Down
2 changes: 1 addition & 1 deletion config/schema_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ type (
portsFormatChecker struct{}
)

func (checker environmentFormatChecker) IsFormat(input string) bool {
func (checker environmentFormatChecker) IsFormat(input interface{}) bool {
// If the value is a boolean, a warning should be given
// However, we can't determine type since gojsonschema converts the value to a string
// Adding a function with an interface{} parameter to gojsonschema is probably the best way to handle this
Expand Down
2 changes: 1 addition & 1 deletion config/validation.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"strconv"
"strings"

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

Expand Down
2 changes: 1 addition & 1 deletion docker/container.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"os"
"strings"

"github.com/Sirupsen/logrus"
"github.com/sirupsen/logrus"
"github.com/docker/engine-api/client"
"github.com/docker/engine-api/types"
"github.com/docker/engine-api/types/container"
Expand Down
2 changes: 1 addition & 1 deletion docker/image.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

"golang.org/x/net/context"

"github.com/Sirupsen/logrus"
"github.com/sirupsen/logrus"
"github.com/docker/engine-api/client"
"github.com/docker/engine-api/types"
"github.com/hyperhq/hypercli/pkg/jsonmessage"
Expand Down
2 changes: 1 addition & 1 deletion docker/project.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"os"
"path/filepath"

"github.com/Sirupsen/logrus"
"github.com/sirupsen/logrus"
"github.com/hyperhq/libcompose/config"
"github.com/hyperhq/libcompose/lookup"
"github.com/hyperhq/libcompose/project"
Expand Down
2 changes: 1 addition & 1 deletion docker/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"strconv"
"strings"

"github.com/Sirupsen/logrus"
"github.com/sirupsen/logrus"
"github.com/docker/engine-api/client"
"github.com/docker/go-connections/nat"
"github.com/hyperhq/libcompose/config"
Expand Down
2 changes: 1 addition & 1 deletion lookup/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"path/filepath"
"strings"

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

// relativePath returns the proper relative path for the given file path. If
Expand Down
2 changes: 1 addition & 1 deletion project/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"regexp"
"strings"

"github.com/Sirupsen/logrus"
"github.com/sirupsen/logrus"
"github.com/hyperhq/libcompose/config"
"github.com/hyperhq/libcompose/logger"
)
Expand Down
2 changes: 1 addition & 1 deletion project/listener.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package project
import (
"bytes"

"github.com/Sirupsen/logrus"
"github.com/sirupsen/logrus"
"github.com/hyperhq/libcompose/project/events"
)

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

"golang.org/x/net/context"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"
"github.com/docker/engine-api/types"
"github.com/docker/engine-api/types/filters"
"github.com/hyperhq/libcompose/config"
Expand Down
2 changes: 1 addition & 1 deletion project/service-wrapper.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package project
import (
"sync"

log "github.com/Sirupsen/logrus"
log "github.com/sirupsen/logrus"
"github.com/hyperhq/libcompose/project/events"
)

Expand Down
2 changes: 1 addition & 1 deletion utils/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"encoding/json"
"sync"

"github.com/Sirupsen/logrus"
"github.com/sirupsen/logrus"
yaml "github.com/cloudfoundry-incubator/candiedyaml"
)

Expand Down