Skip to content

Commit

Permalink
Update mockapi package name to match new home (istio#1870)
Browse files Browse the repository at this point in the history
Automatic merge from submit-queue.

Update mockapi package name to match new home

**What this PR does / why we need it**:
The `mockapi` package was created by moving files. During that move, the package statements at the top of the files were not updated to match. This PR fixes that issue.

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #

**Special notes for your reviewer**:

**Release note**:
```release-note-none
```
  • Loading branch information
douglas-reid authored and istio-merge-robot committed Nov 27, 2017
1 parent 1903f78 commit 910d8b2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion mixer/pkg/mockapi/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package test
package mockapi

import (
"time"
Expand Down
4 changes: 2 additions & 2 deletions mixer/pkg/mockapi/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// Package test supplies a fake Mixer server for use in testing. It should NOT
// Package mockapi supplies a fake Mixer server for use in testing. It should NOT
// be used outside of testing contexts.
package test // import "istio.io/istio/mixer/test"
package mockapi // import "istio.io/istio/mixer/pkg/mockapi"

import (
"errors"
Expand Down
2 changes: 1 addition & 1 deletion mixer/pkg/mockapi/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

package test
package mockapi

import (
"fmt"
Expand Down

0 comments on commit 910d8b2

Please sign in to comment.