Skip to content

Commit

Permalink
Make workflows succeed when creating objects with draft mode on
Browse files Browse the repository at this point in the history
Change-Id: I423ed621e629913022317117f9fd1e0c072fc2f2
Closes-Bug: #1770567
  • Loading branch information
IridiumOxide committed Jul 18, 2018
1 parent b48ac4a commit b3d42cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions o11nplugin-contrail-config/buildNumber.properties
@@ -1,3 +1,3 @@
#maven.buildNumber.plugin properties file
#Tue Jul 03 11:18:02 CEST 2018
buildNumber=1549
#Thu Jul 05 15:20:53 CEST 2018
buildNumber=1550
Expand Up @@ -41,7 +41,7 @@ class WrapperUtil(val ctx: WrapperContext, val factory: IPluginFactory) {
findConnection(sid).operation(obj)

fun <T : ApiObjectBase> create(sid: Sid, obj: T) =
crud(obj, sid) { create(it); read(it) }
crud(obj, sid) { create(it) }

fun <T : ApiObjectBase> update(sid: Sid, obj: T) =
crud(obj, sid) { update(it) }
Expand Down

0 comments on commit b3d42cc

Please sign in to comment.