Skip to content

Commit

Permalink
πŸ› remove lastOperation from createUserProvicesServiceInstance
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbytes committed Jul 30, 2019
1 parent 08e893d commit bc1c653
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 bc1c653

Please sign in to comment.