Skip to content

Commit

Permalink
Update initialize/user_data.go
Browse files Browse the repository at this point in the history
Co-authored-by: Krzesimir Nowak <qdlacz@gmail.com>
Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
  • Loading branch information
gabriel-samfira and krnowak committed Jun 2, 2023
1 parent 1b891d5 commit 52d63b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion initialize/user_data.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ func payloadAsCloudConfigPart(name, payload string, env *Environment) (UserDataP
// of the userdata from the Content-Type header, so we don't require that the body contain
// the header, but it simplifies our lives if we add it here, as there are functions that look
// for it in other parts of the codebase.
userdata += "#cloud-config\n\n"
userdata = "#cloud-config\n\n" + userdata
}
return UserDataPart{
userDataType: CloudConfigType,
Expand Down

0 comments on commit 52d63b4

Please sign in to comment.