func getBoxDetails(box core.Box) (boxName string, boxTag string) { if box == nil { return } return box.GetName(), box.GetTag() }