Skip to content

Commit

Permalink
fix fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
biandratti committed Nov 25, 2021
1 parent 378ff7a commit 4a2cc5c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/config/database.go
Expand Up @@ -13,7 +13,7 @@ import (

func DBConnection() (*pgxpool.Pool, error) {
url := os.Getenv("DATABASE_URL")
if len(url) == 0{
if len(url) == 0 {
return nil, errors.New("The DATABASE_URL environment variable is not set or empty")
}

Expand Down
2 changes: 1 addition & 1 deletion src/config/liftbridge.go
Expand Up @@ -8,4 +8,4 @@ import (
func LiftbridgeConnect(addr string) (liftbridge.Client, error) {
client, err := liftbridge.Connect([]string{addr})
return client, errors.WithMessage(err, "Couldn't connect to NATS")
}
}
2 changes: 1 addition & 1 deletion src/config/nomad.go
Expand Up @@ -7,4 +7,4 @@ func NewNomadClient() (client *nomad.Client, err error) {
//TODO: log configuration
client, err = nomad.NewClient(config)
return
}
}

0 comments on commit 4a2cc5c

Please sign in to comment.