Skip to content

Commit fea4ff3

Browse files
fix(JD): restore WSRPC field (#649)
Restoring the fields but marking them deprecated and they are no longer used. This is to help with easier migration between usage in Chainlink repo and CLD repo. Related to #643 JIRA: https://smartcontract-it.atlassian.net/browse/CLD-910
1 parent ade5b2c commit fea4ff3

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.changeset/legal-ways-pull.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"chainlink-deployments-framework": patch
3+
---
4+
5+
fix(JD): restore WSRPC field to help with graceful migration in chainlink repo and CLD repo

offchain/jd/client.go

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ import (
1616

1717
// JDConfig is the configuration for the Job Distributor client.
1818
type JDConfig struct {
19-
GRPC string
19+
GRPC string
20+
// DEPRECATED: WSRPC is no longer used and will be removed in a future version.
21+
WSRPC string
2022
Creds credentials.TransportCredentials
2123
Auth oauth2.TokenSource
2224
}
@@ -26,6 +28,9 @@ type JobDistributor struct {
2628
nodev1.NodeServiceClient
2729
jobv1.JobServiceClient
2830
csav1.CSAServiceClient
31+
32+
// DEPRECATED: WSRPC is no longer used and will be removed in a future version.
33+
WSRPC string
2934
}
3035

3136
// NewJDClient creates a new Job Distributor client

0 commit comments

Comments
 (0)