Skip to content

Commit

Permalink
chore: enable godot
Browse files Browse the repository at this point in the history
  • Loading branch information
dsonck92 committed Jul 9, 2024
1 parent f6810e9 commit 26f2ab4
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 4 deletions.
1 change: 0 additions & 1 deletion api/.golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ linters:
- nestif
- lll
- gosec
- godot
- gocritic
- gocognit
- funlen
Expand Down
2 changes: 2 additions & 0 deletions api/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ import (
// @title Voltaserve API
// @version 2.0.0
// @BasePath /v2
//
// .
func main() {
if _, err := os.Stat(".env.local"); err == nil {
err := godotenv.Load(".env.local")
Expand Down
1 change: 0 additions & 1 deletion conversion/.golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ linters:
- nestif
- lll
- gosec
- godot
- gocritic
- gocognit
- funlen
Expand Down
2 changes: 2 additions & 0 deletions conversion/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ import (
// @title Voltaserve Conversion
// @version 2.0.0
// @BasePath /v2
//
// .
func main() {
if _, err := os.Stat(".env.local"); err == nil {
err := godotenv.Load(".env.local")
Expand Down
2 changes: 1 addition & 1 deletion conversion/runtime/scheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func (s *Scheduler) SchedulePipeline(opts *client.PipelineRunOptions) {
s.pipelineQueue[index] = append(s.pipelineQueue[index], *opts)
}

/* Choose the pipeline with the least number of items in the queue */
// Choose the pipeline with the least number of items in the queue.
func (s *Scheduler) choosePipeline() int {
index := 0
length := len(s.pipelineQueue[0])
Expand Down
1 change: 0 additions & 1 deletion mosaic/.golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ linters:
- prealloc
- lll
- gosec
- godot
- gocritic
- funlen
- gocognit
Expand Down
2 changes: 2 additions & 0 deletions mosaic/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ import (
// @title Voltaserve Mosaic
// @version 2.0.0
// @BasePath /v2
//
// .
func main() {
if _, err := os.Stat(".env.local"); err == nil {
err := godotenv.Load(".env.local")
Expand Down

0 comments on commit 26f2ab4

Please sign in to comment.