Commit 8a137405 authored by shaw's avatar shaw
Browse files

fix: 移除重复的 ptrTime 函数声明修复编译错误

idempotency_repo_integration_test.go 中的 ptrTime 与
scheduler_cache.go 中的声明冲突,导致 repository 包测试构建失败。
parent f431f5ed
...@@ -139,6 +139,3 @@ func TestIdempotencyRepo_StatusTransition_ToSucceeded(t *testing.T) { ...@@ -139,6 +139,3 @@ func TestIdempotencyRepo_StatusTransition_ToSucceeded(t *testing.T) {
require.Nil(t, got.LockedUntil) require.Nil(t, got.LockedUntil)
} }
func ptrTime(v time.Time) *time.Time {
return &v
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment