Skip to content
This repository has been archived by the owner on Jul 25, 2022. It is now read-only.

Error on unknown FS #2350

Merged
merged 2 commits into from
Oct 28, 2020
Merged

Error on unknown FS #2350

merged 2 commits into from
Oct 28, 2020

Conversation

mkpankov
Copy link
Contributor

@mkpankov mkpankov commented Oct 28, 2020

image

Signed-off-by: Michael Pankov work@michaelpankov.com


This change is Reviewable

Signed-off-by: Michael Pankov <work@michaelpankov.com>
@mkpankov mkpankov requested a review from a team October 28, 2020 08:39
@mkpankov mkpankov self-assigned this Oct 28, 2020
@mkpankov mkpankov added the bug label Oct 28, 2020
@mkpankov mkpankov added this to the IML EX V3 milestone Oct 28, 2020
ip1981
ip1981 previously approved these changes Oct 28, 2020
Signed-off-by: Michael Pankov <work@michaelpankov.com>
@mkpankov mkpankov requested a review from a team October 28, 2020 11:47
@johnsonw
Copy link
Contributor

Can you post a screenshot of the output with the change in place?

@johnsonw
Copy link
Contributor

You're hitting the same error I was seeing yesterday:

Error downloading packages:
  2:nodejs-12.19.0-1nodesource.x86_64: [Errno 256] No more mirrors to try.

Try restarting IML GUI / Check RPM build (pull_request). It will probably work now.

@@ -254,6 +258,9 @@ impl QueryRoot {
context: &Context,
fs_name: Option<String>,
) -> juniper::FieldResult<Vec<TargetResource>> {
if let Some(ref fs_name) = fs_name {
let _ = fs_id_by_name(&context.pg_pool, &fs_name).await?;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: is the let _ = necessary when you already are handling the result?

@jgrund jgrund merged commit 910baeb into master Oct 28, 2020
@jgrund jgrund deleted the unknown-fs-error branch October 28, 2020 16:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
4 participants