Skip to content

Commit

Permalink
Merge pull request #6 from paradeum-team/yuan
Browse files Browse the repository at this point in the history
modify default config path.
  • Loading branch information
freedomiris committed May 22, 2023
2 parents cf1b6c8 + ce00c13 commit 3022df5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file modified chainstorage-sdk
Binary file not shown.
Binary file modified cmd/cmd
Binary file not shown.
4 changes: 2 additions & 2 deletions sdk/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func initConfig() {
// configFile = "./github.com/paradeum-team/chainstorage-sdk.yaml"
//}

configFile := "./github.com/paradeum-team/chainstorage-sdk.yaml"
configFile := "./chainstorage-sdk.yaml"
config, err := gprofile.Profile(&ApplicationConfig{}, configFile, true)
if err != nil {
fmt.Errorf("Profile execute error", err)
Expand Down Expand Up @@ -116,7 +116,7 @@ func initConfig() {

func InitConfig2() {
//rand.Seed(time.Now().UnixNano())
config, err := gprofile.Profile(&ApplicationConfig{}, "./github.com/paradeum-team/github.com/paradeum-team/chainstorage-sdk.yaml", true)
config, err := gprofile.Profile(&ApplicationConfig{}, "./chainstorage-sdk.yaml", true)
if err != nil {
fmt.Errorf("Profile execute error", err)
}
Expand Down

0 comments on commit 3022df5

Please sign in to comment.