Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
number571 committed Aug 10, 2024
1 parent 982e6a9 commit e9c5526
Show file tree
Hide file tree
Showing 16 changed files with 8,402 additions and 8,376 deletions.
13,346 changes: 6,673 additions & 6,673 deletions cmd/hidden_lake/_test/result/coverage.out

Large diffs are not rendered by default.

612 changes: 313 additions & 299 deletions cmd/hidden_lake/_test/result/coverage.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion cmd/hidden_lake/adapters/chatingar/pkg/app/init_app.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ import (
func InitApp(pArgs []string, pDefaultPath string) (types.IRunner, error) {
inputPath := strings.TrimSuffix(flag.GetFlagValue(pArgs, "path", pDefaultPath), "/")

cfg, err := config.InitConfig(filepath.Join(inputPath, settings.CPathYML), nil)
cfgPath := filepath.Join(inputPath, settings.CPathYML)
cfg, err := config.InitConfig(cfgPath, nil)
if err != nil {
return nil, fmt.Errorf("init config: %w", err)
}
Expand Down
3 changes: 2 additions & 1 deletion cmd/hidden_lake/adapters/common/pkg/app/init_app.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ import (
func InitApp(pArgs []string, pDefaultPath string) (types.IRunner, error) {
inputPath := strings.TrimSuffix(flag.GetFlagValue(pArgs, "path", pDefaultPath), "/")

cfg, err := config.InitConfig(filepath.Join(inputPath, settings.CPathYML), nil)
cfgPath := filepath.Join(inputPath, settings.CPathYML)
cfg, err := config.InitConfig(cfgPath, nil)
if err != nil {
return nil, fmt.Errorf("init config: %w", err)
}
Expand Down
3 changes: 2 additions & 1 deletion cmd/hidden_lake/applications/filesharer/pkg/app/init_app.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ import (
func InitApp(pArgs []string, pDefaultPath string) (types.IRunner, error) {
inputPath := strings.TrimSuffix(flag.GetFlagValue(pArgs, "path", pDefaultPath), "/")

cfg, err := config.InitConfig(filepath.Join(inputPath, settings.CPathYML), nil)
cfgPath := filepath.Join(inputPath, settings.CPathYML)
cfg, err := config.InitConfig(cfgPath, nil)
if err != nil {
return nil, fmt.Errorf("init config: %w", err)
}
Expand Down
3 changes: 2 additions & 1 deletion cmd/hidden_lake/applications/messenger/pkg/app/init_app.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ import (
func InitApp(pArgs []string, pDefaultPath string) (types.IRunner, error) {
inputPath := strings.TrimSuffix(flag.GetFlagValue(pArgs, "path", pDefaultPath), "/")

cfg, err := config.InitConfig(filepath.Join(inputPath, settings.CPathYML), nil)
cfgPath := filepath.Join(inputPath, settings.CPathYML)
cfg, err := config.InitConfig(cfgPath, nil)
if err != nil {
return nil, utils.MergeErrors(ErrInitConfig, err)
}
Expand Down
3 changes: 2 additions & 1 deletion cmd/hidden_lake/applications/remoter/pkg/app/init_app.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ import (
func InitApp(pArgs []string, pDefaultPath string) (types.IRunner, error) {
inputPath := strings.TrimSuffix(flag.GetFlagValue(pArgs, "path", pDefaultPath), "/")

cfg, err := config.InitConfig(filepath.Join(inputPath, settings.CPathYML), nil)
cfgPath := filepath.Join(inputPath, settings.CPathYML)
cfg, err := config.InitConfig(cfgPath, nil)
if err != nil {
return nil, fmt.Errorf("init config: %w", err)
}
Expand Down
3 changes: 2 additions & 1 deletion cmd/hidden_lake/composite/pkg/app/init_app.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ func InitApp(
) (types.IRunner, error) {
inputPath := strings.TrimSuffix(flag.GetFlagValue(pArgs, "path", pDefaultPath), "/")

cfg, err := config.InitConfig(filepath.Join(inputPath, settings.CPathYML), nil)
cfgPath := filepath.Join(inputPath, settings.CPathYML)
cfg, err := config.InitConfig(cfgPath, nil)
if err != nil {
return nil, utils.MergeErrors(ErrInitConfig, err)
}
Expand Down
4 changes: 3 additions & 1 deletion cmd/hidden_lake/helpers/encryptor/pkg/app/init_app.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ func InitApp(pArgs []string, pDefaultPath string, pDefaultParallel uint64) (type
}

inputPath := strings.TrimSuffix(flag.GetFlagValue(pArgs, "path", pDefaultPath), "/")
cfg, err := config.InitConfig(filepath.Join(inputPath, settings.CPathYML), nil)

cfgPath := filepath.Join(inputPath, settings.CPathYML)
cfg, err := config.InitConfig(cfgPath, nil)
if err != nil {
return nil, utils.MergeErrors(ErrInitConfig, err)
}
Expand Down
3 changes: 2 additions & 1 deletion cmd/hidden_lake/helpers/loader/pkg/app/init_app.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ import (
func InitApp(pArgs []string, pDefaultPath string) (types.IRunner, error) {
inputPath := strings.TrimSuffix(flag.GetFlagValue(pArgs, "path", pDefaultPath), "/")

cfg, err := config.InitConfig(filepath.Join(inputPath, settings.CPathYML), nil)
cfgPath := filepath.Join(inputPath, settings.CPathYML)
cfg, err := config.InitConfig(cfgPath, nil)
if err != nil {
return nil, fmt.Errorf("init config: %w", err)
}
Expand Down
3 changes: 2 additions & 1 deletion cmd/hidden_lake/helpers/traffic/pkg/app/init_app.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ import (
func InitApp(pArgs []string, pDefaultPath string) (types.IRunner, error) {
inputPath := strings.TrimSuffix(flag.GetFlagValue(pArgs, "path", pDefaultPath), "/")

cfg, err := config.InitConfig(filepath.Join(inputPath, settings.CPathYML), nil)
cfgPath := filepath.Join(inputPath, settings.CPathYML)
cfg, err := config.InitConfig(cfgPath, nil)
if err != nil {
return nil, fmt.Errorf("init config: %w", err)
}
Expand Down
4 changes: 3 additions & 1 deletion cmd/hidden_lake/service/pkg/app/init_app.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ func InitApp(pArgs []string, pDefaultPath string, pDefaultParallel uint64) (type
}

inputPath := strings.TrimSuffix(flag.GetFlagValue(pArgs, "path", pDefaultPath), "/")
cfg, err := config.InitConfig(filepath.Join(inputPath, pkg_settings.CPathYML), nil)

cfgPath := filepath.Join(inputPath, pkg_settings.CPathYML)
cfg, err := config.InitConfig(cfgPath, nil)
if err != nil {
return nil, utils.MergeErrors(ErrInitConfig, err)
}
Expand Down
2 changes: 1 addition & 1 deletion test/result/badge_codelines.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion test/result/badge_coverage.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit e9c5526

Please sign in to comment.