feat: change PersistentCacheTask to value type and ensure empty slice response #11726
Annotations
10 errors and 1 warning
Test:
manager/handlers/application_test.go#L160
cannot use svc (variable of type *mocks.MockService) as "d7y.io/dragonfly/v2/manager/service".Service value in argument to New: *mocks.MockService does not implement "d7y.io/dragonfly/v2/manager/service".Service (wrong type for method GetPersistentCacheTask)
|
Test:
manager/handlers/application_test.go#L204
cannot use svc (variable of type *mocks.MockService) as "d7y.io/dragonfly/v2/manager/service".Service value in argument to New: *mocks.MockService does not implement "d7y.io/dragonfly/v2/manager/service".Service (wrong type for method GetPersistentCacheTask)
|
Test:
manager/handlers/application_test.go#L261
cannot use svc (variable of type *mocks.MockService) as "d7y.io/dragonfly/v2/manager/service".Service value in argument to New: *mocks.MockService does not implement "d7y.io/dragonfly/v2/manager/service".Service (wrong type for method GetPersistentCacheTask)
|
Test:
manager/handlers/application_test.go#L309
cannot use svc (variable of type *mocks.MockService) as "d7y.io/dragonfly/v2/manager/service".Service value in argument to New: *mocks.MockService does not implement "d7y.io/dragonfly/v2/manager/service".Service (wrong type for method GetPersistentCacheTask)
|
Test:
manager/handlers/application_test.go#L363
cannot use svc (variable of type *mocks.MockService) as "d7y.io/dragonfly/v2/manager/service".Service value in argument to New: *mocks.MockService does not implement "d7y.io/dragonfly/v2/manager/service".Service (wrong type for method GetPersistentCacheTask)
|
Test:
manager/handlers/bucket_test.go#L95
cannot use svc (variable of type *mocks.MockService) as "d7y.io/dragonfly/v2/manager/service".Service value in argument to New: *mocks.MockService does not implement "d7y.io/dragonfly/v2/manager/service".Service (wrong type for method GetPersistentCacheTask)
|
Test:
manager/handlers/bucket_test.go#L139
cannot use svc (variable of type *mocks.MockService) as "d7y.io/dragonfly/v2/manager/service".Service value in argument to New: *mocks.MockService does not implement "d7y.io/dragonfly/v2/manager/service".Service (wrong type for method GetPersistentCacheTask)
|
Test:
manager/handlers/bucket_test.go#L178
cannot use svc (variable of type *mocks.MockService) as "d7y.io/dragonfly/v2/manager/service".Service value in argument to New: *mocks.MockService does not implement "d7y.io/dragonfly/v2/manager/service".Service (wrong type for method GetPersistentCacheTask)
|
Test:
manager/handlers/bucket_test.go#L217
cannot use svc (variable of type *mocks.MockService) as "d7y.io/dragonfly/v2/manager/service".Service value in argument to New: *mocks.MockService does not implement "d7y.io/dragonfly/v2/manager/service".Service (wrong type for method GetPersistentCacheTask)
|
Test:
manager/handlers/cluster_test.go#L146
cannot use svc (variable of type *mocks.MockService) as "d7y.io/dragonfly/v2/manager/service".Service value in argument to New: *mocks.MockService does not implement "d7y.io/dragonfly/v2/manager/service".Service (wrong type for method GetPersistentCacheTask)
|
Test
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|