Don't set bootstrap host entry during admin create-network
This commit is contained in:
parent
be2250fddd
commit
6ef21ff186
@ -225,14 +225,6 @@ var subCmdAdminCreateNetwork = subCmd{
|
|||||||
return fmt.Errorf("initializing garage shared global bucket: %w", err)
|
return fmt.Errorf("initializing garage shared global bucket: %w", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
garageS3Client := env.Bootstrap.GlobalBucketS3APIClient()
|
|
||||||
|
|
||||||
fmt.Fprintln(os.Stderr, "writing data for this host into garage")
|
|
||||||
err = bootstrap.PutGarageBoostrapHost(ctx, garageS3Client, env.Bootstrap.ThisHost())
|
|
||||||
if err != nil {
|
|
||||||
return fmt.Errorf("putting host data into garage: %w", err)
|
|
||||||
}
|
|
||||||
|
|
||||||
fmt.Fprintln(os.Stderr, "cluster initialized successfully, writing admin.tgz to stdout")
|
fmt.Fprintln(os.Stderr, "cluster initialized successfully, writing admin.tgz to stdout")
|
||||||
|
|
||||||
err = admin.Admin{
|
err = admin.Admin{
|
||||||
|
Loading…
Reference in New Issue
Block a user