Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
chenjie199234 committed Feb 29, 2024
1 parent d91c322 commit 3ceef3f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions codegen/tml/config/template_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ func initremoteapp(notice func(*AppConfig), wait chan *struct{}) (stopwatch func
return
}
c := &AppConfig{}
if e := json.Unmarshal(common.Str2byte(keyvalue), c); e != nil {
if e := json.Unmarshal(common.STB(keyvalue), c); e != nil {
log.Error(nil, "[config.remote.app] config data format wrong", log.CError(e))
return
}
Expand Down Expand Up @@ -355,7 +355,7 @@ func initremotesource(wait chan *struct{}) (stopwatch func()) {
return
}
c := &sourceConfig{}
if e := json.Unmarshal(common.Str2byte(keyvalue), c); e != nil {
if e := json.Unmarshal(common.STB(keyvalue), c); e != nil {
log.Error(nil, "[config.remote.source] config data format wrong", log.CError(e))
return
}
Expand Down
2 changes: 1 addition & 1 deletion internal/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import "fmt"

var major = 0
var minor = 0
var patch = 100
var patch = 101
var status = ""

func String() string {
Expand Down

0 comments on commit 3ceef3f

Please sign in to comment.