Skip to content

Commit

Permalink
Make snaploader code more rollout safe before my proto change (buildb…
Browse files Browse the repository at this point in the history
  • Loading branch information
maggie-lou committed Apr 11, 2024
1 parent 90f6ee1 commit 3b5e427
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ func (l *FileCacheLoader) getLocalManifest(ctx context.Context, key *fcpb.Snapsh

func (l *FileCacheLoader) actionResultToManifest(ctx context.Context, remoteInstanceName string, snapshotActionResult *repb.ActionResult, tmpDir string, remoteEnabled bool) (*fcpb.SnapshotManifest, error) {
snapMetadata := snapshotActionResult.GetExecutionMetadata().GetAuxiliaryMetadata()
if len(snapMetadata) != 1 {
if len(snapMetadata) < 1 {
return nil, status.InternalErrorf("expected vm config in snapshot auxiliary metadata")
}

Expand Down

0 comments on commit 3b5e427

Please sign in to comment.