Skip to content

Commit 7e0de8d

Browse files
fix linter
1 parent fed1b91 commit 7e0de8d

File tree

6 files changed

+12
-6
lines changed

6 files changed

+12
-6
lines changed

cmd/event-reporter-server/commands/event_reporter_server.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@ package commands
33
import (
44
"context"
55
"fmt"
6-
"github.com/argoproj/argo-cd/v2/pkg/sources_server_client"
76
"math"
87
"time"
98

9+
"github.com/argoproj/argo-cd/v2/pkg/sources_server_client"
10+
1011
"github.com/argoproj/argo-cd/v2/event_reporter/reporter"
1112

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

event_reporter/controller/controller.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@ package controller
22

33
import (
44
"context"
5-
"github.com/argoproj/argo-cd/v2/pkg/sources_server_client"
65
"math"
76
"strings"
87
"time"
98

9+
"github.com/argoproj/argo-cd/v2/pkg/sources_server_client"
10+
1011
"github.com/argoproj/argo-cd/v2/util/db"
1112

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

event_reporter/reporter/application_event_reporter.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,13 @@ import (
44
"context"
55
"encoding/json"
66
"fmt"
7-
"github.com/argoproj/argo-cd/v2/pkg/sources_server_client"
87
"math"
98
"reflect"
109
"strings"
1110
"time"
1211

12+
"github.com/argoproj/argo-cd/v2/pkg/sources_server_client"
13+
1314
"github.com/argoproj/argo-cd/v2/util/db"
1415

1516
"github.com/argoproj/argo-cd/v2/event_reporter/utils"

event_reporter/server.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@ import (
44
"context"
55
"crypto/tls"
66
"fmt"
7-
"github.com/argoproj/argo-cd/v2/pkg/sources_server_client"
87
"net"
98
"net/http"
109
"os"
1110
"strings"
1211
"time"
1312

13+
"github.com/argoproj/argo-cd/v2/pkg/sources_server_client"
14+
1415
appclient "github.com/argoproj/argo-cd/v2/event_reporter/application"
1516
"github.com/argoproj/argo-cd/v2/event_reporter/reporter"
1617

event_reporter/utils/app_version.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package utils
22

33
import (
44
"encoding/json"
5+
56
"github.com/argoproj/argo-cd/v2/pkg/sources_server_client"
67
log "github.com/sirupsen/logrus"
78

pkg/sources_server_client/client.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@ import (
44
"bytes"
55
"encoding/json"
66
"fmt"
7-
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1"
8-
log "github.com/sirupsen/logrus"
97
"io"
108
"net/http"
9+
10+
"github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1"
11+
log "github.com/sirupsen/logrus"
1112
)
1213

1314
type DependenciesMap struct {

0 commit comments

Comments
 (0)