Skip to content

Commit

Permalink
Add option to set max number of comment chunks
Browse files Browse the repository at this point in the history
Closes: canonical#158
Closes: SET-934
Signed-off-by: Nicolas Bock <[email protected]>
  • Loading branch information
nicolasbock committed Jul 31, 2024
1 parent 85b5b6d commit 1b2a30e
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,13 @@ func NewProcessor() Processor {
}

type SalesForce struct {
Endpoint string `yaml:"endpoint"`
Username string `yaml:"username"`
Password string `yaml:"password"`
SecurityToken string `yaml:"security-token"`
MaxCommentLength int `yaml:"max-comment-length"`
EnableChatter bool `yaml:"enable-chatter"`
Endpoint string `yaml:"endpoint"`
Username string `yaml:"username"`
Password string `yaml:"password"`
SecurityToken string `yaml:"security-token"`
MaxCommentLength int `yaml:"max-comment-length"`
MaxNumberCommentChunks int `yaml:"max-number-comment-chunks"`
EnableChatter bool `yaml:"enable-chatter"`
}

func NewSalesForce() SalesForce {
Expand Down

0 comments on commit 1b2a30e

Please sign in to comment.