Skip to content

Commit 8963ec5

Browse files
committed
Updates to match new locket protobufs
1 parent f625d4e commit 8963ec5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/routing-api/locket_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ var _ = Describe("Locket", func() {
122122
Key: "routing_api_lock",
123123
Owner: "Your worst enemy.",
124124
Value: "Something",
125-
TypeCode: locketmodels.LOCK,
125+
TypeCode: locketmodels.TypeCode_LOCK,
126126
}
127127

128128
clock := clock.NewClock()

cmd/routing-api/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ func main() {
126126
lockIdentifier := &locketmodels.Resource{
127127
Key: cfg.LockResouceKey,
128128
Owner: cfg.UUID,
129-
TypeCode: locketmodels.LOCK,
129+
TypeCode: locketmodels.TypeCode_LOCK,
130130
}
131131

132132
locks = append(locks, grouper.Member{Name: "sql-lock", Runner: lock.NewLockRunner(

0 commit comments

Comments
 (0)