Skip to content

Commit

Permalink
Merge pull request #118 from glazychev-art/nse_nsm
Browse files Browse the repository at this point in the history
[qfix] Replace nse prefix for config to nsm
  • Loading branch information
denis-tingaikin authored Nov 15, 2021
2 parents 06f99cc + 19b862b commit bf7ca2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@ type Config struct {

// Process prints and processes env to config
func (c *Config) Process() error {
if err := envconfig.Usage("nse", c); err != nil {
if err := envconfig.Usage("nsm", c); err != nil {
return errors.Wrap(err, "cannot show usage of envconfig nse")
}
if err := envconfig.Process("nse", c); err != nil {
if err := envconfig.Process("nsm", c); err != nil {
return errors.Wrap(err, "cannot process envconfig nse")
}
return nil
Expand Down

0 comments on commit bf7ca2f

Please sign in to comment.