Skip to content

Commit

Permalink
more pud debug
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenhorsman committed Nov 29, 2024
1 parent 1fcb7c7 commit 6776f3c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/cloud-api-adaptor/pkg/userdata/provision.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ func newProvider(ctx context.Context) (UserDataProvider, error) {
// This checks for the presence of a file and doesn't rely on http req like the
// azure, aws ones, thereby making it faster and hence checking this first
if hasUserDataFile() {
logger.Print("HasUserDataFile")
return FileUserDataProvider{}, nil
}
logger.Print("No userdata file")
Expand Down Expand Up @@ -304,7 +305,7 @@ func ProvisionFiles(cfg *Config) error {
return fmt.Errorf("failed to process cloud config: %w", err)
}
} else {
logger.Printf("unsupported user data provider, we extract and calculate initdata hash only.\n")
logger.Printf("bunsupported user data provider, we extract and calculate initdata hash only.\n")
}

if err := extractInitdataAndHash(cfg); err != nil {
Expand Down

0 comments on commit 6776f3c

Please sign in to comment.