Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
andrii-codefresh committed Dec 15, 2024
1 parent fed1b91 commit 7e0de8d
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 6 deletions.
3 changes: 2 additions & 1 deletion cmd/event-reporter-server/commands/event_reporter_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@ package commands
import (
"context"
"fmt"
"github.com/argoproj/argo-cd/v2/pkg/sources_server_client"
"math"
"time"

"github.com/argoproj/argo-cd/v2/pkg/sources_server_client"

"github.com/argoproj/argo-cd/v2/event_reporter/reporter"

"github.com/argoproj/argo-cd/v2/event_reporter"
Expand Down
3 changes: 2 additions & 1 deletion event_reporter/controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ package controller

import (
"context"
"github.com/argoproj/argo-cd/v2/pkg/sources_server_client"
"math"
"strings"
"time"

"github.com/argoproj/argo-cd/v2/pkg/sources_server_client"

"github.com/argoproj/argo-cd/v2/util/db"

appclient "github.com/argoproj/argo-cd/v2/event_reporter/application"
Expand Down
3 changes: 2 additions & 1 deletion event_reporter/reporter/application_event_reporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@ import (
"context"
"encoding/json"
"fmt"
"github.com/argoproj/argo-cd/v2/pkg/sources_server_client"
"math"
"reflect"
"strings"
"time"

"github.com/argoproj/argo-cd/v2/pkg/sources_server_client"

"github.com/argoproj/argo-cd/v2/util/db"

"github.com/argoproj/argo-cd/v2/event_reporter/utils"
Expand Down
3 changes: 2 additions & 1 deletion event_reporter/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@ import (
"context"
"crypto/tls"
"fmt"
"github.com/argoproj/argo-cd/v2/pkg/sources_server_client"
"net"
"net/http"
"os"
"strings"
"time"

"github.com/argoproj/argo-cd/v2/pkg/sources_server_client"

appclient "github.com/argoproj/argo-cd/v2/event_reporter/application"
"github.com/argoproj/argo-cd/v2/event_reporter/reporter"

Expand Down
1 change: 1 addition & 0 deletions event_reporter/utils/app_version.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package utils

import (
"encoding/json"

"github.com/argoproj/argo-cd/v2/pkg/sources_server_client"
log "github.com/sirupsen/logrus"

Expand Down
5 changes: 3 additions & 2 deletions pkg/sources_server_client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ import (
"bytes"
"encoding/json"
"fmt"
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1"
log "github.com/sirupsen/logrus"
"io"
"net/http"

"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1"
log "github.com/sirupsen/logrus"
)

type DependenciesMap struct {
Expand Down

0 comments on commit 7e0de8d

Please sign in to comment.