code: func FixInjectionsWithRelativePath(workdir string, injections api.VolumeList) api.VolumeList {
  	if len(injections) == 0 {
  		return injections
  	}
  	newList := api.VolumeList{}
  	for _, injection := range injections {
  		changed := false
  		if filepath.Clean(filepath.FromSlash(injection.Destination)) == "." {
  			injection.Destination = filepath.ToSlash(workdir)
  			changed = true
  		}
  		if filepath.ToSlash(injection.Destination)[0] != '/' {
  			injection.Destination = filepath.ToSlash(filepath.Join(workdir, injection.Destination))
  			changed = true
  		}
  		if changed {
  			glog.V(5).Infof("Using %q as a destination for injecting %q", injection.Destination, injection.Source)
  		}
  		newList = append(newList, injection)
  	}
  	return newList
  }
docs: // FixInjectionsWithRelativePath fixes the injections that does not specify the
  // destination directory or the directory is relative to use the provided
  // working directory.