Skip to content

Commit

Permalink
fix(code): remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
roock committed Apr 25, 2023
1 parent 548a0ff commit 139329b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 25 deletions.
9 changes: 0 additions & 9 deletions dataaccess.go
Original file line number Diff line number Diff line change
Expand Up @@ -245,15 +245,6 @@ func hasState(lst []poolInfoState, itm poolInfoState) bool {
return false
}

func hasItem(lst []string, itm string) bool {
for _, i := range lst {
if i == itm {
return true
}
}
return false
}

// Close the database connection
func (connection Connection) Close() error {
return connection.db.Close()
Expand Down
16 changes: 0 additions & 16 deletions types.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,6 @@ import "time"

type JobType string

const (
BackupJob JobType = "B"
MigratedJob = "J"
VerifyJob = "V"
RestoreJob = "R"
ConsoleJob = "U"
SystemJob = "I"
AdminJob = "D"
ArchiveJob = "A"
JobCopyJob = "C"
CopyJob = "c"
MigrateJob = "J"
ScanJob = "S"
ConsolidateJob = "O"
)

type JobLookup struct {
JobName string
clientId int
Expand Down

0 comments on commit 139329b

Please sign in to comment.