Skip to content
Merged
Changes from all commits
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
4 changes: 2 additions & 2 deletions public/app/percona/shared/core/reducers/updates/updates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ export const updatesSlice = createSlice({

export const checkUpdatesAction = createAsyncThunk('percona/checkUpdates', async (): Promise<CheckUpdatesPayload> => {
try {
const res = await UpdatesService.getCurrentVersion({ force: true });
const res = await UpdatesService.getCurrentVersion({ force: false });
return responseToPayload(res);
} catch (error) {
const res = await UpdatesService.getCurrentVersion({ force: true, only_installed_version: true });
const res = await UpdatesService.getCurrentVersion({ force: false, only_installed_version: true });
return responseToPayload(res);
}
});
Expand Down
Loading