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

Commit

Permalink
Merge pull request #143 from jterry75/26
Browse files Browse the repository at this point in the history
Renames gcs/errors to gcs/gcserr
  • Loading branch information
gupta-ak authored Sep 18, 2017
2 parents 353a47a + caacb87 commit af8bcbc
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion service/gcs/bridge/bridge.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"sync"

"github.com/Microsoft/opengcs/service/gcs/core"
gcserr "github.com/Microsoft/opengcs/service/gcs/errors"
"github.com/Microsoft/opengcs/service/gcs/gcserr"
"github.com/Microsoft/opengcs/service/gcs/oslayer"
"github.com/Microsoft/opengcs/service/gcs/prot"
"github.com/Microsoft/opengcs/service/gcs/transport"
Expand Down
2 changes: 1 addition & 1 deletion service/gcs/bridge/bridge_unit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"sync"
"testing"

gcserr "github.com/Microsoft/opengcs/service/gcs/errors"
"github.com/Microsoft/opengcs/service/gcs/gcserr"
"github.com/Microsoft/opengcs/service/gcs/prot"
"github.com/Microsoft/opengcs/service/gcs/transport"
"github.com/pkg/errors"
Expand Down
2 changes: 1 addition & 1 deletion service/gcs/core/gcs/gcs.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"syscall"

"github.com/Microsoft/opengcs/service/gcs/core"
gcserr "github.com/Microsoft/opengcs/service/gcs/errors"
"github.com/Microsoft/opengcs/service/gcs/gcserr"
"github.com/Microsoft/opengcs/service/gcs/oslayer"
"github.com/Microsoft/opengcs/service/gcs/prot"
"github.com/Microsoft/opengcs/service/gcs/runtime"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package errors
package gcserr

import (
"fmt"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package errors
package gcserr

import (
"io/ioutil"
"testing"

"github.com/sirupsen/logrus"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"github.com/sirupsen/logrus"
)

func TestErrors(t *testing.T) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package errors
package gcserr

import (
"fmt"
Expand Down
3 changes: 1 addition & 2 deletions service/libs/commonutils/utilities.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ import (
"encoding/json"
"io"

"github.com/Microsoft/opengcs/service/gcs/gcserr"
"github.com/pkg/errors"

gcserr "github.com/Microsoft/opengcs/service/gcs/errors"
)

// UnmarshalJSONWithHresult unmarshals the given data into the given interface, and
Expand Down

0 comments on commit af8bcbc

Please sign in to comment.