osbuild-worker-executor: adapt worker-executor to osbuild-composer

This commit is contained in:
Sanne Raymaekers 2024-05-17 19:41:11 +02:00
parent 591ff8c46c
commit f18293c2f1
3 changed files with 2 additions and 2 deletions

View file

@ -74,7 +74,7 @@ func run(ctx context.Context, args []string, getenv func(string) string, logger
func main() {
logger := logrus.New()
ctx := context.Background()
if err := run(ctx, os.Args, os.Getenv, logger); err != nil {
if err := run(ctx, os.Args[1:], os.Getenv, logger); err != nil {
fmt.Fprintf(os.Stderr, "%s\n", err)
os.Exit(1)
}