mirror of
https://github.com/SecurityBrewery/catalyst.git
synced 2025-12-16 20:22:52 +01:00
Fix linter issues
This commit is contained in:
@@ -79,11 +79,7 @@ func copyFile(ctx context.Context, cli *client.Client, path string, contentStrin
|
||||
return err
|
||||
}
|
||||
|
||||
if err := cli.CopyToContainer(ctx, id, "/", tarBuf, types.CopyToContainerOptions{}); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
return nil
|
||||
return cli.CopyToContainer(ctx, id, "/", tarBuf, types.CopyToContainerOptions{})
|
||||
}
|
||||
|
||||
func runDocker(ctx context.Context, jobID, containerID string, db *database.Database) (stdout []byte, stderr []byte, err error) {
|
||||
|
||||
Reference in New Issue
Block a user