Skip to content

Commit

Permalink
ui: Add Namespaced scope support to meatlk8s client generator
Browse files Browse the repository at this point in the history
  • Loading branch information
JBWatenbergScality committed Jan 11, 2021
1 parent e424155 commit ffbed03
Show file tree
Hide file tree
Showing 5 changed files with 1,529 additions and 39 deletions.
6 changes: 3 additions & 3 deletions ui-metalk8s-client-generator/sample/GeneratedClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -246,10 +246,10 @@ export async function getMetalk8sV1alpha1Volume(
"storage.metalk8s.scality.com",
"v1alpha1",
"volumes",
Metalk8sV1alpha1VolumeName,
Metalk8sV1alpha1VolumeName
);
} catch (error) {
return error;
return { error };
}
}

Expand All @@ -268,7 +268,7 @@ export async function deleteMetalk8sV1alpha1Volume(
{}
);
} catch (error) {
return error;
return { error };
}
}

Expand Down
Loading

0 comments on commit ffbed03

Please sign in to comment.