Skip to content

Commit 52b3b3a

Browse files
committed
fix lint
1 parent 4d69ccf commit 52b3b3a

File tree

4 files changed

+1
-19
lines changed

4 files changed

+1
-19
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
strategy:
1818
matrix:
1919
os: [ubuntu-latest, macos-latest, windows-latest]
20-
go-version: ['1.20', '1.21', '1.22', '1.23']
20+
go-version: ['1.22', '1.23']
2121

2222
steps:
2323
- name: Check out code

client_manager.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,6 @@ func (manager *configurationClientManager) initializeClient(authOptions Authenti
8383
return nil
8484
}
8585

86-
// getClients returns the available configuration clients
87-
func (manager *configurationClientManager) getClients() []*configurationClientWrapper {
88-
// Currently only the static client is available
89-
// This can be extended to include replica clients in the future
90-
return []*configurationClientWrapper{manager.staticClient}
91-
}
92-
9386
// parseConnectionString extracts a named value from a connection string
9487
func parseConnectionString(connectionString string, token string) (string, error) {
9588
if connectionString == "" {

constants.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,6 @@ import "time"
99
const (
1010
// minimalRefreshInterval is the minimum allowed refresh interval for key-value settings
1111
minimalRefreshInterval time.Duration = time.Second
12-
13-
// keyVaultMinimalRefreshInterval is the minimum allowed refresh interval for Key Vault references
14-
keyVaultMinimalRefreshInterval time.Duration = time.Minute
15-
16-
// defaultRefreshInterval is the default interval used when no interval is specified
17-
defaultRefreshInterval time.Duration = 30 * time.Second
1812
)
1913

2014
// Configuration client constants

options.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,6 @@ type Selector struct {
3434
LabelFilter string
3535
}
3636

37-
// equal compares two Selectors for equality
38-
func (s Selector) equal(other Selector) bool {
39-
return s.KeyFilter == other.KeyFilter && s.LabelFilter == other.LabelFilter
40-
}
41-
4237
// KeyValueRefreshOptions contains optional parameters to configure the behavior of key-value settings refresh
4338
type KeyValueRefreshOptions struct {
4439
// WatchedSettings specifies the key-value settings to watch for changes

0 commit comments

Comments
 (0)