Skip to content

Commit 8085dbc

Browse files
committed
make linter happy
Signed-off-by: Javier Rodriguez <javier@chainloop.dev>
1 parent 1bb638a commit 8085dbc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/controlplane/pkg/biz/casbackend.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -361,8 +361,8 @@ func (uc *CASBackendUseCase) Update(ctx context.Context, orgID, id, description
361361

362362
// If we're not updating credentials, preserve the current validation status
363363
if !credentialsUpdated {
364-
updateOpts.CASBackendOpts.ValidationStatus = before.ValidationStatus
365-
updateOpts.CASBackendOpts.ValidationError = before.ValidationError
364+
updateOpts.ValidationStatus = before.ValidationStatus
365+
updateOpts.ValidationError = before.ValidationError
366366
}
367367

368368
after, err := uc.repo.Update(ctx, updateOpts)

0 commit comments

Comments
 (0)