Skip to content

Commit

Permalink
fix compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
usamasaqib committed Nov 24, 2023
1 parent cc9d7c7 commit 09a27a4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/new-e2e/system-probe/test-runner/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -249,12 +249,11 @@ func buildTestConfiguration() (*testConfig, error) {

breakdown := make(map[string]packageRunConfiguration)
if *packageRunConfigPtr != "" {
fmt.Printf("Runner under configuration: %v\n", data)

configData, err := os.ReadFile(*packageRunConfigPtr)
if err != nil {
return nil, fmt.Errorf("failed to read config file: %w", err)
}
fmt.Printf("Runner under configuration: %s\n", configData)

dec := json.NewDecoder(bytes.NewReader(configData))
dec.DisallowUnknownFields()
Expand Down

0 comments on commit 09a27a4

Please sign in to comment.