Skip to content

Commit 3b14ff1

Browse files
committed
Update for new locket protobufs
1 parent 8963ec5 commit 3b14ff1

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.TypeCode_LOCK,
125+
TypeCode: locketmodels.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.TypeCode_LOCK,
129+
TypeCode: locketmodels.LOCK,
130130
}
131131

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

0 commit comments

Comments
 (0)