mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
e2e/framework: don't require NOMAD_ADDR and instead rely on defaults
This commit is contained in:
@@ -49,11 +49,6 @@ func (p *singleClusterProvisioner) ProvisionCluster(opts ProvisionerOptions) (*C
|
||||
Name: opts.Name,
|
||||
}
|
||||
|
||||
// Nomad client is required
|
||||
if len(os.Getenv("NOMAD_ADDR")) == 0 {
|
||||
return nil, fmt.Errorf("environment variable NOMAD_ADDR not set")
|
||||
}
|
||||
|
||||
// Build Nomad api client
|
||||
nomadClient, err := napi.NewClient(napi.DefaultConfig())
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user