Skip to content

Commit

Permalink
fix: remove org for default function name
Browse files Browse the repository at this point in the history
  • Loading branch information
yugasun committed Aug 13, 2020
1 parent 7871c53 commit 599a17c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const validateTraffic = (num) => {
}

const getDefaultFunctionName = (instance) => {
return `${instance.name}-${instance.stage}-${instance.app}-${instance.org}`
return `${instance.name}-${instance.stage}-${instance.app}`
}

const getDefaultTriggerName = (type, instance) => {
Expand All @@ -44,7 +44,7 @@ const getDefaultServiceName = (instance) => {
}

const getDefaultServiceDescription = (instance) => {
return `${instance.name}-${instance.stage}-${instance.app}-${instance.org}`
return `${instance.name}-${instance.stage}-${instance.app}`
}

/**
Expand Down

0 comments on commit 599a17c

Please sign in to comment.