Skip to content

Commit e06d751

Browse files
committed
nodeup: print distribution for diagnostics / debugging
1 parent fbacf6d commit e06d751

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

upup/pkg/fi/nodeup/command.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ func (c *NodeUpCommand) Run(out io.Writer) error {
179179
if err != nil {
180180
return fmt.Errorf("error determining OS distribution: %v", err)
181181
}
182+
klog.Infof("Detected distribution: %s", distribution)
182183

183184
configAssets := nodeupConfig.Assets[architecture]
184185
assetStore := fi.NewAssetStore(c.CacheDir)

0 commit comments

Comments
 (0)