Skip to content

Commit 3764bbd

Browse files
authored
Move stateful driver in its own package (elastic#9059)
* Move stateful driver in its own package
1 parent a936af4 commit 3764bbd

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+1104
-877
lines changed

.golangci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,8 @@ linters:
119119
text: 'SA1019: .*GetEventRecorderFor is deprecated: this uses the old events API'
120120
- linters:
121121
- revive
122-
# revive naming rules are not that happy with our packages/var names in commont/utils packages
123-
path: '.*/(common|utils)/.*.go'
122+
# revive naming rules are not that happy with our packages/var names in common/utils/shared packages
123+
path: '.*/(common|utils|shared)/.*.go'
124124
text: 'var-naming: avoid (package names that conflict with Go standard library package names|meaningless package names)'
125125
paths:
126126
- third_party$

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ check-local-changes:
501501

502502
# Check if the predicate names in upgrade_predicates.go, are equal to the predicate names
503503
# defined in the user documentation in upgrade-predicates.md.
504-
check-predicates: CODE = pkg/controller/elasticsearch/driver/upgrade_predicates.go
504+
check-predicates: CODE = pkg/controller/elasticsearch/driver/stateful/upgrade_predicates.go
505505
check-predicates: DOC = docs/reference/upgrade-predicates.md
506506
check-predicates: PREDICATE_PATTERN = [a-z]*_[A-Za-z_]*
507507
check-predicates:

0 commit comments

Comments
 (0)