diff --git a/upup/pkg/fi/cloudup/loader.go b/upup/pkg/fi/cloudup/loader.go index b27341a62c..044193a219 100644 --- a/upup/pkg/fi/cloudup/loader.go +++ b/upup/pkg/fi/cloudup/loader.go @@ -228,7 +228,7 @@ func (l *Loader) processDeferrals() error { return fmt.Errorf("Unable to find task %q, referenced from %s:%s", *name, taskKey, path) } - glog.V(4).Infof("Replacing task %q at %s:%s", *name, taskKey, path) + glog.V(11).Infof("Replacing task %q at %s:%s", *name, taskKey, path) v.Set(reflect.ValueOf(primary)) } return utils.SkipReflection diff --git a/upup/pkg/fi/context.go b/upup/pkg/fi/context.go index ab3033f617..16b0d4abf0 100644 --- a/upup/pkg/fi/context.go +++ b/upup/pkg/fi/context.go @@ -119,7 +119,7 @@ func (c *Context) Render(a, e, changes Task) error { rendererArgs = append(rendererArgs, reflect.ValueOf(a)) rendererArgs = append(rendererArgs, reflect.ValueOf(e)) rendererArgs = append(rendererArgs, reflect.ValueOf(changes)) - glog.V(4).Infof("Calling method %s on %T", renderer.Name, e) + glog.V(11).Infof("Calling method %s on %T", renderer.Name, e) m := v.MethodByName(renderer.Name) rv := m.Call(rendererArgs) var rvErr error diff --git a/upup/pkg/fi/vfs/vfs.go b/upup/pkg/fi/vfs/vfs.go index ee768bb5c7..47e7b28bcb 100644 --- a/upup/pkg/fi/vfs/vfs.go +++ b/upup/pkg/fi/vfs/vfs.go @@ -14,6 +14,7 @@ type Path interface { // CreateFile writes the file contents, but only if the file does not already exist CreateFile(data []byte) error + // Base returns the base name (last element) Base() string ReadDir() ([]Path, error)