Remove fatalf function; unused.

Signed-off-by: Eric Myhre <hash@exultant.us>
This commit is contained in:
Eric Myhre 2015-10-21 10:18:32 -05:00
parent 2a6ae44f8e
commit 01d9b4002e
1 changed files with 0 additions and 7 deletions

View File

@ -135,13 +135,6 @@ func fatal(err error) {
os.Exit(1)
}
// fatalf formats the errror string with the specified template then exits the
// program with an exit status of 1.
func fatalf(t string, v ...interface{}) {
fmt.Fprintf(os.Stderr, t, v...)
os.Exit(1)
}
// getDefaultID returns a string to be used as the container id based on the
// current working directory of the runc process. This function panics
// if the cwd is unable to be found based on a system error.