Skip to content

Commit

Permalink
removed obsolete code
Browse files Browse the repository at this point in the history
  • Loading branch information
pkazmierczak committed Jul 14, 2022
1 parent 28bb58a commit 866a667
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions jobspec/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,6 @@ func intToPtr(i int) *int {
return &i
}

// int8ToPtr returns the pointer to an int8
func int8ToPtr(i int8) *int8 {
return &i
}

// int64ToPtr returns the pointer to an int
func int64ToPtr(i int64) *int64 {
return &i
}

// Uint64ToPtr returns the pointer to an uint64
func uint64ToPtr(u uint64) *uint64 {
return &u
}

// timeToPtr returns the pointer to a time.Duration.
func timeToPtr(t time.Duration) *time.Duration {
return &t
Expand Down

0 comments on commit 866a667

Please sign in to comment.