feat(dns): cluster API for creating DNS records for cluster domain

This commit is contained in:
Pavel Sviderski committed 2025-02-24 20:32:30 +10:00
1 parent af4629b679
commit ecec42ea60
5 files changed
+244 -125

No files matched your search

+1 -1
View File
@@ -47,7 +47,7 @@ func reserve(ctx context.Context, uncli *cli.CLI, opts reserveOptions) error {
}
defer client.Close()
domain, err := client.ReserveDomain(ctx, &pb.ReserveDomainRequest{ApiEndpoint: opts.endpoint})
domain, err := client.ReserveDomain(ctx, &pb.ReserveDomainRequest{Endpoint: opts.endpoint})
if err != nil {
if status.Convert(err).Code() == codes.AlreadyExists {
return errors.New("domain already reserved")