Skip to content

Commit 752a3b6

Browse files
committed
Fix linting errors
1 parent 5bad60f commit 752a3b6

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

src/pkg/cli/client/byoc/aws/byoc.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,6 @@ func (b *ByocAws) Query(ctx context.Context, req *defangv1.DebugRequest) error {
657657
}
658658

659659
func (b *ByocAws) Follow(ctx context.Context, req *defangv1.TailRequest) (client.ServerStream[defangv1.TailResponse], error) {
660-
661660
etag := req.Etag
662661
// if etag == "" && req.Service == "cd" {
663662
// etag = awsecs.GetTaskID(b.cdTaskArn); TODO: find the last CD task

src/pkg/cli/client/byoc/baseclient.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import (
1616
"github.com/DefangLabs/defang/src/pkg/types"
1717
defangv1 "github.com/DefangLabs/defang/src/protos/io/defang/v1"
1818
"github.com/bufbuild/connect-go"
19-
composeTypes "github.com/compose-spec/compose-go/v2/types"
2019
)
2120

2221
const (
@@ -66,7 +65,6 @@ type ByocBaseClient struct {
6665
ShouldDelegateSubdomain bool
6766
TenantID string
6867

69-
project *composeTypes.Project
7068
bootstrapLister BootstrapLister
7169
}
7270

src/pkg/cli/composeUp.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,8 @@ func ComposeUp(ctx context.Context, loader client.Loader, c client.FabricClient,
8080
resp, err = p.Preview(ctx, deployRequest)
8181
} else {
8282
req := client.PrepareDomainDelegationRequest{Project: project.Name, DelegateDomain: delegateDomain.Zone}
83-
delegation, err := p.PrepareDomainDelegation(ctx, req)
83+
var delegation *client.PrepareDomainDelegationResponse
84+
delegation, err = p.PrepareDomainDelegation(ctx, req)
8485
if err != nil {
8586
return nil, project, err
8687
}

0 commit comments

Comments
 (0)