Skip to content

Commit

Permalink
Merge pull request #15 from Juniper/remove_pp
Browse files Browse the repository at this point in the history
Remove pp lib
  • Loading branch information
nati authored Dec 13, 2017
2 parents a096772 + 43040df commit da80355
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
15 changes: 9 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ ID: root
Password: contrail123
DataBase: contrail_test

You need also add this for /etc/hosts

```
127.0.0.1 mysql
```

Init DB before test
```
./tool/reset_db.sh
Expand All @@ -63,10 +69,7 @@ TBD

We use golang standard dep tool for dependency management.
(see https://github.com/golang/dep)
brew install dep

We use glide for dependency management for go code.

https://github.com/Masterminds/glide

see
```
brew install dep
```
3 changes: 0 additions & 3 deletions pkg/common/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ import (
"path/filepath"
"sort"
"strings"

"github.com/k0kubun/pp"
)

var sqlTypeMap = map[string]string{
Expand Down Expand Up @@ -359,7 +357,6 @@ func (api *API) loadType(schemaFile, typeName string) (*JSONSchema, error) {
}
definition, ok := definitions.Definitions[typeName]
if !ok {
pp.Println(definition)
return nil, fmt.Errorf("%s isn't defined in %s", typeName, schemaFile)
}
err := definition.Walk("", api.resolveRef)
Expand Down

0 comments on commit da80355

Please sign in to comment.