Skip to content

Commit

Permalink
[PlacementHandler] remove the options override for set (#3693)
Browse files Browse the repository at this point in the history
  • Loading branch information
cw9 authored Aug 25, 2021
1 parent 495aa11 commit bebd560
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 94 deletions.
6 changes: 3 additions & 3 deletions src/cluster/placementhandler/add.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,16 @@ import (
"path"
"time"

"github.com/gogo/protobuf/jsonpb"
"go.uber.org/zap"

"github.com/m3db/m3/src/cluster/placement"
"github.com/m3db/m3/src/cluster/placementhandler/handleroptions"
"github.com/m3db/m3/src/query/api/v1/route"
"github.com/m3db/m3/src/query/generated/proto/admin"
"github.com/m3db/m3/src/query/util/logging"
xerrors "github.com/m3db/m3/src/x/errors"
xhttp "github.com/m3db/m3/src/x/net/http"

"github.com/gogo/protobuf/jsonpb"
"go.uber.org/zap"
)

const (
Expand Down
123 changes: 33 additions & 90 deletions src/query/generated/proto/admin/placement.pb.go

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

1 change: 0 additions & 1 deletion src/query/generated/proto/admin/placement.proto
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ message PlacementSetRequest {
bool confirm = 3;
// Force will skip validating the placement.
bool force = 4;
placementpb.Options option_override = 99;
}

message PlacementSetResponse {
Expand Down

0 comments on commit bebd560

Please sign in to comment.