Skip to content

Commit

Permalink
update: add filter for SeedRequest
Browse files Browse the repository at this point in the history
  • Loading branch information
garfield009 committed Dec 21, 2020
1 parent 0e4c1a0 commit bf81c17
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 37 deletions.
82 changes: 46 additions & 36 deletions pkg/rpc/cdnsystem/cdnsystem.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion pkg/rpc/cdnsystem/cdnsystem.proto
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ option go_package = "github.com/dragonflyoss/Dragonfly2/pkg/rpc/cdnsystem";
message SeedRequest{
string task_id = 1;
string url = 2;
base.UrlMeta url_meta = 3; // check content downloaded from remote url
string filter = 3;
base.UrlMeta url_meta = 4; // check content downloaded from remote url
}

// keep piece meta and data separately
Expand Down

0 comments on commit bf81c17

Please sign in to comment.