mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
appease deadcode linter
This commit is contained in:
5
jobspec2/helper_test.go
Normal file
5
jobspec2/helper_test.go
Normal file
@@ -0,0 +1,5 @@
|
||||
package jobspec2
|
||||
|
||||
func intToPtr(v int) *int {
|
||||
return &v
|
||||
}
|
||||
@@ -113,10 +113,6 @@ func normalizeTemplates(templates []*api.Template) {
|
||||
}
|
||||
}
|
||||
|
||||
func intToPtr(v int) *int {
|
||||
return &v
|
||||
}
|
||||
|
||||
func int8ToPtr(v int8) *int8 {
|
||||
return &v
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user