Skip to content

Commit

Permalink
Merge pull request #26 from parodos-dev/consistent_input_naming_m2k
Browse files Browse the repository at this point in the history
Name consistently input params for m2k
  • Loading branch information
gabriel-farache authored Jan 18, 2024
2 parents e0f23bb + f1b50b5 commit 77184aa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions move2kube/m2k.sw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ states:
type: operation
actions:
- name: create
condition: ((has("notifications_disabled") and .notifications_disabled != null and .notifications_disabled == true)|not)
condition: ((has("notificationsDisabled") and .notificationsDisabled != null and .notificationsDisabled == true)|not)
functionRef:
refName: createNotification
arguments:
Expand Down Expand Up @@ -150,7 +150,7 @@ states:
- name: createNotification
actions:
- name: createNotification
condition: ((has("notifications_disabled") and .notifications_disabled != null and .notifications_disabled == true)|not)
condition: ((has("notificationsDisabled") and .notificationsDisabled != null and .notificationsDisabled == true)|not)
functionRef:
refName: createNotification
arguments:
Expand All @@ -172,7 +172,7 @@ states:
- name: createNotification
actions:
- name: createNotification
condition: ((has("notifications_disabled") and .notifications_disabled != null and .notifications_disabled == true)|not)
condition: ((has("notificationsDisabled") and .notificationsDisabled != null and .notificationsDisabled == true)|not)
functionRef:
refName: createNotification
arguments:
Expand Down
6 changes: 3 additions & 3 deletions move2kube/schemas/input.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@
"description": "the branch to create in the repo",
"type": "string"
},
"workspace-id": {
"workspaceId": {
"description": "the ID of the Move2Kube workspace",
"type": "string"
},
"project-id": {
"projectId": {
"description": "the ID of the Move2Kube project",
"type": "string"
},
"notifications_disabled": {
"notificationsDisabled": {
"description": "If set to true, notification will NOT be sent to backstage",
"type": "boolean",
"default": false
Expand Down

0 comments on commit 77184aa

Please sign in to comment.