Skip to content

Commit

Permalink
Merge pull request #38 from DaNautilus/bugfix/create-user-provided-se…
Browse files Browse the repository at this point in the history
…rvice-instance

🐛 remove lastOperation from createUserProvicesServiceInstance
  • Loading branch information
robinfehr authored Jul 30, 2019
2 parents 08e893d + bc1c653 commit f3d88c7
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions fns/createUserProvidedServiceInstance.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,7 @@ module.exports = (api) => {
name: options.name,
guid: result.metadata.guid,
type: 'userProvided',
plan: 'userProvided',
lastOperation: {
type: result.entity.last_operation.type,
state: result.entity.last_operation.state
}
plan: 'userProvided'
});

callback(null, result);
Expand All @@ -70,11 +66,7 @@ module.exports = (api) => {
name: options.name,
guid: result.metadata.guid,
type: 'userProvided',
plan: 'userProvided',
lastOperation: {
type: result.entity.last_operation.type,
state: result.entity.last_operation.state
}
plan: 'userProvided'
});

callback(null, result);
Expand Down

0 comments on commit f3d88c7

Please sign in to comment.