Skip to content

Commit

Permalink
Remove duplicate code
Browse files Browse the repository at this point in the history
  • Loading branch information
bill-rich committed Sep 2, 2020
1 parent e5209e5 commit 32b9e5f
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,6 @@ func CreateLibraryItem(c *rest.Client, l *library.Library, name string, desc str
if err != nil {
return nil, provider.ProviderError(name, "CreateLibraryItem", err)
}
defer func() {
_ = clm.CompleteLibraryItemUpdateSession(ctx, session)
}()
uploadSession.UploadSession = session
defer func() {
_ = clm.CompleteLibraryItemUpdateSession(ctx, session)
Expand Down

0 comments on commit 32b9e5f

Please # to comment.