File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
packages/server/src/checkin Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -359,12 +359,6 @@ impl Server {
359359 let candidates = self
360360 . checkin_solve_get_candidates ( checkpoint, item, pattern)
361361 . await ?;
362-
363- // If there are no candidates at all, fail immediately.
364- if candidates. is_empty ( ) {
365- return Err ( tg:: error!( %pattern, "no candidates found for tag pattern" ) ) ;
366- }
367-
368362 checkpoint. candidates . replace ( candidates) ;
369363 }
370364
@@ -458,7 +452,7 @@ impl Server {
458452 let output = self
459453 . get_object ( & id. clone ( ) . into ( ) )
460454 . await
461- . map_err ( |source| tg:: error!( !source, ?id , "failed to get the object" ) ) ?;
455+ . map_err ( |source| tg:: error!( !source, "failed to get the object" ) ) ?;
462456 let data = tg:: artifact:: Data :: deserialize ( id. kind ( ) , output. bytes )
463457 . map_err ( |source| tg:: error!( !source, "failed to deserialize the object" ) ) ?;
464458
You can’t perform that action at this time.
0 commit comments