Skip to content

Commit c8e3f94

Browse files
committed
Update Sirupsen to sirupsen
sirupsen/logrus#553
1 parent 10e5282 commit c8e3f94

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+526
-414
lines changed

api/backup.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ package api
33
import (
44
"net/http"
55

6-
"github.com/Sirupsen/logrus"
76
"github.com/gorilla/mux"
87
"github.com/pkg/errors"
98
"github.com/rancher/go-rancher/api"
9+
"github.com/sirupsen/logrus"
1010
)
1111

1212
func (s *Server) BackupVolumeList(w http.ResponseWriter, req *http.Request) error {

api/forwarder.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import (
44
"net/http"
55
"net/http/httputil"
66

7-
"github.com/Sirupsen/logrus"
87
"github.com/gorilla/mux"
98
"github.com/pkg/errors"
9+
"github.com/sirupsen/logrus"
1010

1111
"github.com/rancher/longhorn-manager/manager"
1212
)

api/model.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ package api
33
import (
44
"strconv"
55

6-
"github.com/Sirupsen/logrus"
76
"github.com/rancher/go-rancher/api"
87
"github.com/rancher/go-rancher/client"
8+
"github.com/sirupsen/logrus"
99

1010
"k8s.io/api/core/v1"
1111

api/router.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ import (
44
"net/http"
55
"time"
66

7-
"github.com/Sirupsen/logrus"
87
"github.com/gorilla/mux"
98
"github.com/pkg/errors"
109
"github.com/rancher/go-rancher/api"
1110
"github.com/rancher/go-rancher/client"
11+
"github.com/sirupsen/logrus"
1212

1313
apierrors "k8s.io/apimachinery/pkg/api/errors"
1414
)

api/stream.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ import (
77
"strconv"
88
"time"
99

10-
"github.com/Sirupsen/logrus"
1110
"github.com/gorilla/mux"
1211
"github.com/gorilla/websocket"
1312
"github.com/rancher/go-rancher/api"
1413
"github.com/rancher/go-rancher/client"
14+
"github.com/sirupsen/logrus"
1515

1616
"github.com/rancher/longhorn-manager/controller"
1717
)

app/csi.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package app
22

33
import (
4-
"github.com/Sirupsen/logrus"
4+
"github.com/sirupsen/logrus"
55
"github.com/urfave/cli"
66

77
"github.com/rancher/longhorn-manager/csi"

app/daemon.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import (
55
"net/http"
66
"os"
77

8-
"github.com/Sirupsen/logrus"
98
"github.com/rancher/go-iscsi-helper/iscsi"
109
iscsi_util "github.com/rancher/go-iscsi-helper/util"
10+
"github.com/sirupsen/logrus"
1111
"github.com/urfave/cli"
1212

1313
"github.com/rancher/longhorn-manager/api"

app/driver.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"fmt"
55
"os"
66

7-
"github.com/Sirupsen/logrus"
87
"github.com/pkg/errors"
8+
"github.com/sirupsen/logrus"
99
"github.com/urfave/cli"
1010

1111
pvController "github.com/kubernetes-incubator/external-storage/lib/controller"

app/driver_flexvolume.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"strings"
77
"time"
88

9-
"github.com/Sirupsen/logrus"
9+
"github.com/sirupsen/logrus"
1010

1111
"k8s.io/api/core/v1"
1212
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"

app/post_upgrade.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"fmt"
55
"time"
66

7-
"github.com/Sirupsen/logrus"
87
"github.com/pkg/errors"
8+
"github.com/sirupsen/logrus"
99
"github.com/urfave/cli"
1010
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
1111
"k8s.io/client-go/kubernetes"

app/uninstall.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package app
33
import (
44
"time"
55

6-
"github.com/Sirupsen/logrus"
76
"github.com/pkg/errors"
7+
"github.com/sirupsen/logrus"
88
"github.com/urfave/cli"
99
"k8s.io/client-go/informers"
1010
clientset "k8s.io/client-go/kubernetes"

app/volume.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66
"sort"
77
"time"
88

9-
"github.com/Sirupsen/logrus"
109
"github.com/pkg/errors"
10+
"github.com/sirupsen/logrus"
1111
"github.com/urfave/cli"
1212

1313
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"

controller/controller_manager.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
"os"
66
"time"
77

8-
"github.com/Sirupsen/logrus"
98
"github.com/pkg/errors"
9+
"github.com/sirupsen/logrus"
1010

1111
corev1 "k8s.io/api/core/v1"
1212
"k8s.io/apimachinery/pkg/runtime"

controller/engine_controller.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88
"sync"
99
"time"
1010

11-
"github.com/Sirupsen/logrus"
1211
"github.com/pkg/errors"
12+
"github.com/sirupsen/logrus"
1313

1414
"k8s.io/api/core/v1"
1515
apierrors "k8s.io/apimachinery/pkg/api/errors"

controller/engine_image_controller.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
"reflect"
66
"time"
77

8-
"github.com/Sirupsen/logrus"
98
"github.com/pkg/errors"
9+
"github.com/sirupsen/logrus"
1010

1111
appsv1beta2 "k8s.io/api/apps/v1beta2"
1212
"k8s.io/api/core/v1"

controller/instance_handler.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"fmt"
55
"time"
66

7-
"github.com/Sirupsen/logrus"
7+
"github.com/sirupsen/logrus"
88

99
v1 "k8s.io/api/core/v1"
1010
apierrors "k8s.io/apimachinery/pkg/api/errors"

controller/node_controller.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66
"strings"
77
"time"
88

9-
"github.com/Sirupsen/logrus"
109
"github.com/pkg/errors"
10+
"github.com/sirupsen/logrus"
1111

1212
"k8s.io/api/core/v1"
1313
apierrors "k8s.io/apimachinery/pkg/api/errors"

controller/provisioner.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"fmt"
55
"strconv"
66

7-
"github.com/Sirupsen/logrus"
87
pvController "github.com/kubernetes-incubator/external-storage/lib/controller"
8+
"github.com/sirupsen/logrus"
99
"k8s.io/api/core/v1"
1010
"k8s.io/apimachinery/pkg/api/resource"
1111
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"

controller/replica_controller.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88
"strings"
99
"time"
1010

11-
"github.com/Sirupsen/logrus"
1211
"github.com/pkg/errors"
12+
"github.com/sirupsen/logrus"
1313

1414
"k8s.io/api/core/v1"
1515
apierrors "k8s.io/apimachinery/pkg/api/errors"

controller/setting_controller.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88
"net/http"
99
"time"
1010

11-
"github.com/Sirupsen/logrus"
1211
"github.com/pkg/errors"
12+
"github.com/sirupsen/logrus"
1313

1414
"k8s.io/api/core/v1"
1515
"k8s.io/apimachinery/pkg/runtime"

controller/uninstall_controller.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ import (
1313
"k8s.io/client-go/util/workqueue"
1414
"k8s.io/kubernetes/pkg/controller"
1515

16-
"github.com/Sirupsen/logrus"
1716
"github.com/pkg/errors"
17+
"github.com/sirupsen/logrus"
1818
"golang.org/x/time/rate"
1919

2020
longhorn "github.com/rancher/longhorn-manager/k8s/pkg/apis/longhorn/v1alpha1"

controller/volume_controller.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66
"strconv"
77
"time"
88

9-
"github.com/Sirupsen/logrus"
109
"github.com/pkg/errors"
10+
"github.com/sirupsen/logrus"
1111

1212
batchv1 "k8s.io/api/batch/v1"
1313
batchv1beta1 "k8s.io/api/batch/v1beta1"

controller/websocket_controller.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package controller
33
import (
44
"sync"
55

6-
"github.com/Sirupsen/logrus"
6+
"github.com/sirupsen/logrus"
77

88
"k8s.io/client-go/tools/cache"
99
"k8s.io/kubernetes/pkg/controller"

csi/controller_server.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import (
55
"fmt"
66
"time"
77

8-
"github.com/Sirupsen/logrus"
98
csi "github.com/container-storage-interface/spec/lib/go/csi/v0"
109
csicommon "github.com/kubernetes-csi/drivers/pkg/csi-common"
10+
"github.com/sirupsen/logrus"
1111
"google.golang.org/grpc/codes"
1212
"google.golang.org/grpc/status"
1313
volumeutil "k8s.io/kubernetes/pkg/volume/util"

csi/deployment.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package csi
33
import (
44
"sync"
55

6-
"github.com/Sirupsen/logrus"
6+
"github.com/sirupsen/logrus"
77
appsv1beta1 "k8s.io/api/apps/v1beta1"
88
appsv1beta2 "k8s.io/api/apps/v1beta2"
99
"k8s.io/api/core/v1"

csi/deployment_util.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"fmt"
55
"time"
66

7-
"github.com/Sirupsen/logrus"
87
"github.com/pkg/errors"
8+
"github.com/sirupsen/logrus"
99

1010
appsv1beta1 "k8s.io/api/apps/v1beta1"
1111
appsv1beta2 "k8s.io/api/apps/v1beta2"

csi/manager.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package csi
22

33
import (
4-
"github.com/Sirupsen/logrus"
54
"github.com/pkg/errors"
5+
"github.com/sirupsen/logrus"
66

77
csi "github.com/container-storage-interface/spec/lib/go/csi/v0"
88
csicommon "github.com/kubernetes-csi/drivers/pkg/csi-common"

csi/node_server.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import (
44
"context"
55
"fmt"
66

7-
"github.com/Sirupsen/logrus"
87
csi "github.com/container-storage-interface/spec/lib/go/csi/v0"
98
csicommon "github.com/kubernetes-csi/drivers/pkg/csi-common"
9+
"github.com/sirupsen/logrus"
1010
"google.golang.org/grpc/codes"
1111
"google.golang.org/grpc/status"
1212
"k8s.io/kubernetes/pkg/util/mount"

engineapi/backups.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import (
66
"path/filepath"
77
"strings"
88

9-
"github.com/Sirupsen/logrus"
109
"github.com/mitchellh/mapstructure"
1110
"github.com/pkg/errors"
11+
"github.com/sirupsen/logrus"
1212

1313
"github.com/rancher/backupstore"
1414
"github.com/rancher/longhorn-manager/types"

engineapi/engine.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77
"strings"
88
"time"
99

10-
"github.com/Sirupsen/logrus"
1110
"github.com/pkg/errors"
11+
"github.com/sirupsen/logrus"
1212

1313
"github.com/rancher/longhorn-manager/types"
1414
"github.com/rancher/longhorn-manager/util"

engineapi/snapshot.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66
"strings"
77
"time"
88

9-
"github.com/Sirupsen/logrus"
109
"github.com/pkg/errors"
10+
"github.com/sirupsen/logrus"
1111

1212
"github.com/rancher/longhorn-manager/util"
1313
)

main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"fmt"
55
"os"
66

7-
"github.com/Sirupsen/logrus"
7+
"github.com/sirupsen/logrus"
88
"github.com/urfave/cli"
99

1010
"github.com/rancher/longhorn-manager/app"

manager/engineimage.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
"strings"
66
"time"
77

8-
"github.com/Sirupsen/logrus"
98
"github.com/pkg/errors"
9+
"github.com/sirupsen/logrus"
1010

1111
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
1212

manager/misc.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import (
99
"path/filepath"
1010
"reflect"
1111

12-
"github.com/Sirupsen/logrus"
1312
"github.com/pkg/errors"
13+
"github.com/sirupsen/logrus"
1414
"gopkg.in/yaml.v2"
1515

1616
"k8s.io/api/core/v1"

manager/node.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ package manager
33
import (
44
"fmt"
55

6-
"github.com/Sirupsen/logrus"
76
"github.com/rancher/longhorn-manager/types"
87
"github.com/rancher/longhorn-manager/util"
8+
"github.com/sirupsen/logrus"
99

1010
longhorn "github.com/rancher/longhorn-manager/k8s/pkg/apis/longhorn/v1alpha1"
1111
)

manager/volume.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
"reflect"
66
"sort"
77

8-
"github.com/Sirupsen/logrus"
98
"github.com/pkg/errors"
9+
"github.com/sirupsen/logrus"
1010

1111
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
1212

scheduler/replica_scheduler.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ import (
44
"fmt"
55
"path/filepath"
66

7-
"github.com/Sirupsen/logrus"
87
"github.com/rancher/longhorn-manager/datastore"
98
"github.com/rancher/longhorn-manager/types"
109
"github.com/rancher/longhorn-manager/util"
10+
"github.com/sirupsen/logrus"
1111

1212
longhorn "github.com/rancher/longhorn-manager/k8s/pkg/apis/longhorn/v1alpha1"
1313
)

util/daemon/daemon.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package daemon
22

33
import (
4-
"github.com/Sirupsen/logrus"
4+
"github.com/sirupsen/logrus"
55
"os"
66
"os/signal"
77
"syscall"

0 commit comments

Comments
 (0)