Skip to content

Commit

Permalink
Merge pull request #103 from orbs-network/upgrade/scribe
Browse files Browse the repository at this point in the history
upgrade scribe to v0.2.3
  • Loading branch information
Kirill Maksimov authored Nov 20, 2019
2 parents c08155e + 8c0687b commit 0ddef9e
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 5 deletions.
9 changes: 9 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,12 @@
[submodule "vendor/github.com/orbs-network/scribe"]
path = vendor/github.com/orbs-network/scribe
url = https://github.com/orbs-network/scribe
[submodule "vendor/github.com/go-playground/ansi"]
path = vendor/github.com/go-playground/ansi
url = https://github.com/go-playground/ansi
[submodule "vendor/github.com/orbs-network/gojay"]
path = vendor/github.com/orbs-network/gojay
url = https://github.com/orbs-network/gojay
[submodule "vendor/github.com/pkg/errors"]
path = vendor/github.com/pkg/errors
url = https://github.com/pkg/errors
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.20.0
v0.21.0
3 changes: 1 addition & 2 deletions boyar/config/get_logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ func GetLogger(flags *Flags) (log.Logger, error) {

logger := log.GetLogger().
WithTags(tags...).
WithOutput(outputs...).
WithSourcePrefix("boyarin/")
WithOutput(outputs...)

cfg, _ := NewStringConfigurationSource("{}", "")
cfg.SetKeyConfigPath(flags.KeyPairConfigPath)
Expand Down
8 changes: 7 additions & 1 deletion test/helpers/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,13 @@ func getMetricsForEndpoint(getEndpoint func() string) func() (map[string]interfa
}
}

func GetBlockHeight(getMetrics func() (map[string]interface{}, error)) (int, error) {
func GetBlockHeight(getMetrics func() (map[string]interface{}, error)) (value int, err error) {
defer func() {
if e := recover(); e != nil {
value = 0
err = e.(error)
}
}()
metrics, err := getMetrics()
if err != nil {
return 0, err
Expand Down
1 change: 1 addition & 0 deletions vendor/github.com/go-playground/ansi
Submodule ansi added at d2d477
1 change: 1 addition & 0 deletions vendor/github.com/orbs-network/gojay
Submodule gojay added at 7c1e58
1 change: 1 addition & 0 deletions vendor/github.com/pkg/errors
Submodule errors added at 7f95ac

0 comments on commit 0ddef9e

Please sign in to comment.