Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

Commit

Permalink
EVEREST-496: add TargetNamespaces to POST BackupStorages response
Browse files Browse the repository at this point in the history
  • Loading branch information
recharte committed Jan 31, 2024
1 parent 1b1e71f commit d5d6f73
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions api/backup_storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,12 +144,13 @@ func (e *EverestServer) CreateBackupStorage(ctx echo.Context) error { //nolint:f
})
}
result := BackupStorage{
Type: BackupStorageType(params.Type),
Name: params.Name,
Description: params.Description,
BucketName: params.BucketName,
Region: params.Region,
Url: params.Url,
Type: BackupStorageType(params.Type),
Name: params.Name,
Description: params.Description,
BucketName: params.BucketName,
Region: params.Region,
Url: params.Url,
TargetNamespaces: params.TargetNamespaces,
}

return ctx.JSON(http.StatusOK, result)
Expand Down

0 comments on commit d5d6f73

Please sign in to comment.