chore: fix function name in comment

Signed-off-by: largemouth <largemouth@aliyun.com>
This commit is contained in:
largemouth
2024-04-22 19:45:14 +08:00
parent cea4c0d419
commit 4ce13640cd
3 changed files with 3 additions and 3 deletions

View File

@@ -123,7 +123,7 @@ func (p *ProviderScaleway) Extract() ([]byte, error) {
return userData, nil
}
// exctractInformation returns the extracted information given as parameter from the metadata
// extractInformation returns the extracted information given as parameter from the metadata
func (p *ProviderScaleway) extractInformation(metadata []byte, information string) ([]byte, error) {
query := strings.ToUpper(information) + "="
for _, line := range bytes.Split(metadata, []byte("\n")) {