Skip to content

Commit 9f7bf93

Browse files
committed
removed pkg/db/types package
1 parent 0832cb3 commit 9f7bf93

File tree

5 files changed

+4
-349
lines changed

5 files changed

+4
-349
lines changed

pkg/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ import (
77

88
"github.com/flanksource/canary-checker/api/external"
99
v1 "github.com/flanksource/canary-checker/api/v1"
10-
"github.com/flanksource/canary-checker/pkg/db/types"
1110
"github.com/flanksource/canary-checker/pkg/labels"
1211
"github.com/flanksource/canary-checker/pkg/utils"
1312
"github.com/flanksource/commons/console"
1413
"github.com/flanksource/commons/logger"
1514
"github.com/flanksource/duty/models"
15+
"github.com/flanksource/duty/types"
1616
"github.com/google/uuid"
1717
)
1818

pkg/db/canary_selector.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import (
55

66
v1 "github.com/flanksource/canary-checker/api/v1"
77
"github.com/flanksource/canary-checker/pkg"
8-
"github.com/flanksource/canary-checker/pkg/db/types"
98
"github.com/flanksource/commons/logger"
109
"github.com/flanksource/duty/models"
10+
"github.com/flanksource/duty/types"
1111
"github.com/google/uuid"
1212
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
1313
)

pkg/db/component_selector.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package db
33
import (
44
"strings"
55

6-
"github.com/flanksource/canary-checker/pkg/db/types"
76
"github.com/flanksource/duty/models"
7+
"github.com/flanksource/duty/types"
88
)
99

1010
func GetLabelsFromSelector(selector string) (matchLabels map[string]string) {

pkg/db/types/types.go

Lines changed: 0 additions & 345 deletions
This file was deleted.

pkg/system_api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"time"
55

66
v1 "github.com/flanksource/canary-checker/api/v1"
7-
"github.com/flanksource/canary-checker/pkg/db/types"
87
"github.com/flanksource/duty/models"
8+
"github.com/flanksource/duty/types"
99
"github.com/google/uuid"
1010
)
1111

0 commit comments

Comments
 (0)