Skip to content

Commit

Permalink
spelling: converting
Browse files Browse the repository at this point in the history
Signed-off-by: Josh Soref <[email protected]>
  • Loading branch information
jsoref committed Nov 20, 2024
1 parent 958aa13 commit cf616e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/controller/resourceactuation/resourceactuation.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func ShouldSkip(u *unstructured.Unstructured) (bool, error) {
for _, condition := range conditions {
conditionMap, ok := condition.(map[string]interface{})
if !ok {
return false, fmt.Errorf("error coverting condition %v to map", condition)
return false, fmt.Errorf("error converting condition %v to map", condition)
}
if status, foundStatus := conditionMap["status"].(string); foundStatus && status == "True" {
if reason, foundCondition := conditionMap["reason"].(string); foundCondition && reason == k8s.UpToDate {
Expand Down
2 changes: 1 addition & 1 deletion pkg/resourceskeleton/resourceskeleton.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func NewFromAsset(a *asset.Asset, smLoader *servicemappingloader.ServiceMappingL
name := trimServiceHostName(a, sm)
importID, err := convertAssetNameToImportID(rc, name)
if err != nil {
return nil, fmt.Errorf("error coverting cloud asset inventory name '%v' to resource id: %w", name, err)
return nil, fmt.Errorf("error converting cloud asset inventory name '%v' to resource id: %w", name, err)
}
state, err := krmtotf.ImportState(context.Background(), importID, &tfInfo, tfProvider)
if err != nil {
Expand Down

0 comments on commit cf616e7

Please sign in to comment.