Skip to content

Commit

Permalink
Merge pull request #9 from BenB196/staging
Browse files Browse the repository at this point in the history
Merge staging to master and bump to v0.0.6
  • Loading branch information
BenB196 authored Sep 28, 2019
2 parents 13e15f3 + 36e5c83 commit 5b622f6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.5
0.0.6
12 changes: 6 additions & 6 deletions ffs.go
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ func csvLineToFileEvent(csvLine []string) FileEvent {
//Convert fileOwnerString to string slice
var fileOwner []string
if fileOwnerString != "" {
fileOwner = strings.Fields(fileOwnerString)
fileOwner = strings.Split(fileOwnerString,",")
}

//Convert createdTimestamp to time
Expand Down Expand Up @@ -277,35 +277,35 @@ func csvLineToFileEvent(csvLine []string) FileEvent {
var privateIpAddresses []string
if privateIpAddressesString != "" {
privateIpAddressesString := strings.Replace(privateIpAddressesString, "\n","",-1)
privateIpAddresses = strings.Fields(privateIpAddressesString)
privateIpAddresses = strings.Split(privateIpAddressesString,",")
}

//Convert directoryId to string slice
var directoryId []string
if directoryIdString != "" {
directoryIdString := strings.Replace(directoryIdString, "\n","",-1)
directoryId = strings.Fields(directoryIdString)
directoryId = strings.Split(directoryIdString,",")
}

//Convert sharedWith to string slice
var sharedWith []string
if sharedWithString != "" {
sharedWithString := strings.Replace(sharedWithString, "\n","",-1)
sharedWith = strings.Fields(sharedWithString)
sharedWith = strings.Split(sharedWithString,",")
}

//Convert sharingTypeAdded to string slice
var sharingTypeAdded []string
if sharingTypeAddedString != "" {
sharingTypeAddedString := strings.Replace(sharingTypeAddedString, "\n","",-1)
sharingTypeAdded = strings.Fields(sharingTypeAddedString)
sharingTypeAdded = strings.Split(sharingTypeAddedString,",")
}

//Convert exposure to string slice
var exposure []string
if exposureString != "" {
exposureString := strings.Replace(exposureString, "\n","",-1)
exposure = strings.Fields(exposureString)
exposure = strings.Split(exposureString,",")
}

//Convert removableMediaCapacity to int
Expand Down

0 comments on commit 5b622f6

Please sign in to comment.