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

Commit b5e2ef5

Browse files
author
Yevgeny Pats
committed
bugfixes in local feature
1 parent c406433 commit b5e2ef5

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

client/commands.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ func (c *fuzzitClient) CreateLocalJob(jobConfig Job, files []string) error {
199199
}
200200

201201
log.Println("Pulling container")
202-
reader, err := cli.ImagePull(ctx, "docker.io/fuzzitdev/fuzzit:stretch-llvm9", types.ImagePullOptions{})
202+
reader, err := cli.ImagePull(ctx, "docker.io/fuzzitdev/fuzzit:stretch-llvm8", types.ImagePullOptions{})
203203
if err != nil {
204204
return err
205205
}
@@ -216,7 +216,8 @@ func (c *fuzzitClient) CreateLocalJob(jobConfig Job, files []string) error {
216216
"ASAN_OPTIONS=" + jobConfig.AsanOptions,
217217
"UBSAN_OPTIONS=" + jobConfig.UbsanOptions,
218218
"ARGS=" + jobConfig.Args},
219-
Image: "docker.io/fuzzitdev/fuzzit:stretch-llvm9",
219+
Image: "docker.io/fuzzitdev/fuzzit:stretch-llvm8",
220+
Cmd: []string{"/app/run.sh"},
220221
AttachStdin: true,
221222
}, nil, nil, "")
222223
if err != nil {

cmd/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ var cfgFile string
2626
var rootCmd = &cobra.Command{
2727
Use: "fuzzit",
2828
Short: "Continuous fuzzing made simple CLI",
29-
Version: "2.3.0",
29+
Version: "2.4.0",
3030
}
3131

3232
func Execute() {

cmd/target.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ var targetCmd = &cobra.Command{
3737
if err != nil {
3838
log.Fatal(err)
3939
}
40-
docRef, err := c.CreateTarget(args[0], seed)
40+
_, err = c.CreateTarget(args[0], seed)
4141
if err != nil {
4242
log.Fatal(err)
4343
}
44-
log.Printf("Created new target: %s successfully with id: %s\n", args[0], docRef.ID)
44+
log.Printf("Created new target: %s successfully", args[0])
4545
},
4646
}
4747

0 commit comments

Comments
 (0)