osbuild-worker-executor: adapt worker-executor to osbuild-composer
This commit is contained in:
parent
591ff8c46c
commit
f18293c2f1
3 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue