Skip to content
This repository was archived by the owner on Apr 30, 2021. It is now read-only.

Commit 0be717c

Browse files
author
Yevgeny Pats
committed
deprecate regression
1 parent 567b3f3 commit 0be717c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

client/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111
)
1212

1313
const FuzzitEndpoint = "https://app.fuzzit.dev"
14-
const Version = "v2.4.75"
14+
const Version = "v2.4.76"
1515

1616
type Target struct {
1717
Name string `firestore:"target_name"`

cmd/job.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ var jobCmd = &cobra.Command{
5050
Args: cobra.MinimumNArgs(2),
5151
Run: func(cmd *cobra.Command, args []string) {
5252
if newJob.Type != "fuzzing" && newJob.Type != "regression" && newJob.Type != "local-regression" {
53-
log.Fatalf("--type should be either fuzzing, regression or local-regression. Received: %s", newJob.Type)
53+
log.Fatalf("--type should be either fuzzing, local-regression or regression(DEPERCATED). Received: %s", newJob.Type)
5454
}
5555

5656
if newJob.Engine != "libfuzzer" && newJob.Engine != "jqf" && newJob.Engine != "go-fuzz" {
@@ -147,7 +147,7 @@ func init() {
147147

148148
branch := client.GetValueFromEnv("TRAVIS_BRANCH", "CIRCLE_BRANCH", "GITHUB_REF")
149149

150-
jobCmd.Flags().StringVar(&newJob.Type, "type", "fuzzing", "fuzzing/regression/local-regression")
150+
jobCmd.Flags().StringVar(&newJob.Type, "type", "fuzzing", "fuzzing/local-regression")
151151
jobCmd.Flags().StringVar(&newJob.Engine, "engine", "libfuzzer", "libfuzzer/jqf/go-fuzz")
152152
jobCmd.Flags().StringVar(&newJob.CPUs, "cpus", "1", "number of cpus to use (only relevant for fuzzing job)")
153153
jobCmd.Flags().StringVar(&newJob.Memory, "memory", "2048Mi", "number of cpus to use (only relevant for fuzzing job)")

0 commit comments

Comments
 (0)