Skip to content

Commit

Permalink
fix error variable format (#397)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruspaul013 authored Dec 13, 2024
1 parent c7895b5 commit 70dd5d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,7 @@ func (d *Driver) StartTask(cfg *drivers.TaskConfig) (*drivers.TaskHandle, *drive

// add security_opt if configured
if securiyOptsErr := parseSecurityOpt(podmanTaskConfig.SecurityOpt, &createOpts); securiyOptsErr != nil {
return nil, nil, fmt.Errorf("failed to parse security_opt configuration: %v", securiyOptsErr)
return nil, nil, fmt.Errorf("failed to parse security_opt configuration: %w", securiyOptsErr)
}

// Populate --userns mode only if configured
Expand Down

0 comments on commit 70dd5d2

Please sign in to comment.