Skip to content
This repository has been archived by the owner on Jan 27, 2021. It is now read-only.

change import paths to ocis-pkg/v2 #27

Merged
merged 1 commit into from
Feb 5, 2020
Merged
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
4 changes: 4 additions & 0 deletions changelog/unreleased/correct-imports.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Bugfix: change import paths to ocis-pkg/v2

Changed the import paths to the current version

2 changes: 1 addition & 1 deletion middleware/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"time"

"github.com/go-chi/chi/middleware"
"github.com/owncloud/ocis-pkg/log"
"github.com/owncloud/ocis-pkg/v2/log"
)

// Logger is a middleware to log http requests.
Expand Down
2 changes: 1 addition & 1 deletion middleware/openidconnect.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"time"

oidc "github.com/coreos/go-oidc"
ocisoidc "github.com/owncloud/ocis-pkg/oidc"
ocisoidc "github.com/owncloud/ocis-pkg/v2/oidc"
"golang.org/x/oauth2"
)

Expand Down
2 changes: 1 addition & 1 deletion oidc/option.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package oidc

import (
"github.com/owncloud/ocis-pkg/log"
"github.com/owncloud/ocis-pkg/v2/log"
)

// Option defines a single option function.
Expand Down
2 changes: 1 addition & 1 deletion service/debug/option.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package debug
import (
"net/http"

"github.com/owncloud/ocis-pkg/log"
"github.com/owncloud/ocis-pkg/v2/log"
)

// Option defines a single option function.
Expand Down
2 changes: 1 addition & 1 deletion service/debug/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"net/http/pprof"

"github.com/justinas/alice"
"github.com/owncloud/ocis-pkg/middleware"
"github.com/owncloud/ocis-pkg/v2/middleware"
"github.com/prometheus/client_golang/prometheus/promhttp"
"go.opencensus.io/zpages"
)
Expand Down
2 changes: 1 addition & 1 deletion service/grpc/option.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"context"

"github.com/micro/cli/v2"
"github.com/owncloud/ocis-pkg/log"
"github.com/owncloud/ocis-pkg/v2/log"
)

// Option defines a single option function.
Expand Down
2 changes: 1 addition & 1 deletion service/http/option.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"crypto/tls"

"github.com/micro/cli/v2"
"github.com/owncloud/ocis-pkg/log"
"github.com/owncloud/ocis-pkg/v2/log"
)

// Option defines a single option function.
Expand Down