Skip to content

Commit

Permalink
chore: fix Go code formatting (#1137)
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Pacak <pacak.daniel@gmail.com>
  • Loading branch information
danielpacak authored Apr 12, 2022
1 parent 331c871 commit 254d1c0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions pkg/plugin/trivy/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -247,10 +247,10 @@ func NewPlugin(clock ext.Clock, idGenerator ext.IDGenerator, client client.Clien
func (p *plugin) Init(ctx starboard.PluginContext) error {
return ctx.EnsureConfig(starboard.PluginConfig{
Data: map[string]string{
keyTrivyImageRef: "docker.io/aquasec/trivy:0.25.2",
keyTrivySeverity: "UNKNOWN,LOW,MEDIUM,HIGH,CRITICAL",
keyTrivyMode: string(Standalone),
keyTrivyTimeout: "5m0s",
keyTrivyImageRef: "docker.io/aquasec/trivy:0.25.2",
keyTrivySeverity: "UNKNOWN,LOW,MEDIUM,HIGH,CRITICAL",
keyTrivyMode: string(Standalone),
keyTrivyTimeout: "5m0s",
keyTrivyDBRepository: defaultDBRepository,

keyResourcesRequestsCPU: "100m",
Expand Down
4 changes: 2 additions & 2 deletions pkg/plugin/trivy/plugin_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -584,8 +584,8 @@ func TestPlugin_GetScanJobSpec(t *testing.T) {
{
name: "Standalone mode without insecure registry",
config: map[string]string{
"trivy.imageRef": "docker.io/aquasec/trivy:0.14.0",
"trivy.mode": string(trivy.Standalone),
"trivy.imageRef": "docker.io/aquasec/trivy:0.14.0",
"trivy.mode": string(trivy.Standalone),
"trivy.dbRepository": defaultDBRepository,
"trivy.resources.requests.cpu": "100m",
"trivy.resources.requests.memory": "100M",
Expand Down

0 comments on commit 254d1c0

Please sign in to comment.