Skip to content

Commit

Permalink
support proprietary cloud demand
Browse files Browse the repository at this point in the history
  • Loading branch information
xuxiaoahang2018 committed Aug 26, 2019
1 parent b8dd557 commit bef0ccc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions log_project.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,16 +151,16 @@ func (p *LogProject) CreateLogStore(name string, ttl, shardCnt int, autoSplit bo
Name string `json:"logstoreName"`
TTL int `json:"ttl"`
ShardCount int `json:"shardCount"`
AutoSplit bool `json:"autoSplit"`
MaxSplitShard int `json:"maxSplitShard"`
//AutoSplit bool `json:"autoSplit"`
//MaxSplitShard int `json:"maxSplitShard"`
WebTracking bool `json:"enable_tracking"`
}
store := &Body{
Name: name,
TTL: ttl,
ShardCount: shardCnt,
AutoSplit: autoSplit,
MaxSplitShard: maxSplitShard,
//AutoSplit: autoSplit,
//MaxSplitShard: maxSplitShard,
}
body, err := json.Marshal(store)
if err != nil {
Expand Down

0 comments on commit bef0ccc

Please sign in to comment.