This repository has been archived by the owner on Mar 31, 2023. It is now read-only.
Refactor OS type string as abstract interface #269
Labels
tech-debt
Unpleasantness that does (or may in future) affect development
This code, where we store a different string according to what we found:
wksctl/pkg/apis/wksprovider/machine/os/os.go
Lines 1230 to 1236 in 773dacf
then later switch on that string:
wksctl/pkg/plan/recipe/upgrade_plans.go
Lines 24 to 25 in ede45a9
wksctl/pkg/plan/recipe/install_plans.go
Lines 177 to 180 in 190eb37
seems like a classic case where we could instantiate an object of different concrete type behind an interface.
The text was updated successfully, but these errors were encountered: