Skip to content

Commit

Permalink
fix: Fix statfulset createc in cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
leoliu committed Jul 3, 2020
1 parent 7039322 commit 0a67a90
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/actions/workload.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,15 @@ const FORM_STEPS = {

export default {
'workload.create': {
on({ store, cluster, namespace, module, success, isFederated, ...props }) {
on({
store,
cluster,
namespace = '',
module,
success,
isFederated,
...props
}) {
const kind = MODULE_KIND_MAP[module]
const formTemplate = {
[kind]: FORM_TEMPLATES[module]({
Expand Down

0 comments on commit 0a67a90

Please sign in to comment.