c/osbuild-worker-executor: update to match new name
Update the imports/names to match the new name "osbuild-worker-executor".
This commit is contained in:
parent
372d9f07dd
commit
cbb8d79baf
3 changed files with 4 additions and 4 deletions
|
|
@ -14,10 +14,10 @@ type Config struct {
|
|||
func newConfigFromCmdline(args []string) (*Config, error) {
|
||||
var config Config
|
||||
|
||||
fs := flag.NewFlagSet("oaas", flag.ContinueOnError)
|
||||
fs := flag.NewFlagSet("worker-executor", flag.ContinueOnError)
|
||||
fs.StringVar(&config.Host, "host", "localhost", "host to listen on")
|
||||
fs.StringVar(&config.Port, "port", "8001", "port to listen on")
|
||||
fs.StringVar(&config.BuildDirBase, "build-path", "/var/tmp/oaas", "base dir to run the builds in")
|
||||
fs.StringVar(&config.BuildDirBase, "build-path", "/var/tmp/worker-executor", "base dir to run the builds in")
|
||||
if err := fs.Parse(args); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ import (
|
|||
|
||||
"github.com/stretchr/testify/assert"
|
||||
|
||||
main "github.com/osbuild/osbuild-composer/cmd/oaas"
|
||||
main "github.com/osbuild/osbuild-composer/cmd/osbuild-worker-executor"
|
||||
)
|
||||
|
||||
func TestBuildMustPOST(t *testing.T) {
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ import (
|
|||
logrusTest "github.com/sirupsen/logrus/hooks/test"
|
||||
"github.com/stretchr/testify/assert"
|
||||
|
||||
main "github.com/osbuild/osbuild-composer/cmd/oaas"
|
||||
main "github.com/osbuild/osbuild-composer/cmd/osbuild-worker-executor"
|
||||
)
|
||||
|
||||
const defaultTimeout = 5 * time.Second
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue