Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Fleet] Fix default source_uri host #137151

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions x-pack/plugins/fleet/common/constants/download_source.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
*/

// Default source URI used to download Elastic Agent
export const DEFAULT_DOWNLOAD_SOURCE_URI =
'https://artifacts.elastic.co/downloads/beats/elastic-agent';
export const DEFAULT_DOWNLOAD_SOURCE_URI = 'https://artifacts.elastic.co/downloads/';

export const DOWNLOAD_SOURCE_SAVED_OBJECT_TYPE = 'ingest-download-sources';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ describe('Agent binary download source section', () => {

cy.getBySel(AGENT_BINARY_SOURCES_TABLE).find('tr').should('have.length', '2');
cy.getBySel(AGENT_BINARY_SOURCES_TABLE_ACTIONS.HOST).contains(
'https://artifacts.elastic.co/downloads/beats/elastic-agent'
'https://artifacts.elastic.co/downloads/'
);
cy.getBySel(AGENT_BINARY_SOURCES_TABLE_ACTIONS.DEFAULT_VALUE).should('exist');
cy.getBySel(AGENT_BINARY_SOURCES_TABLE_ACTIONS.EDIT).click();
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.