diff --git a/.gitignore b/.gitignore index 8f2be29..b1efe2b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,6 @@ .env -test.bash \ No newline at end of file +test.bash + +/bin +.idea +.vscode diff --git a/cmd/ctrlc/root/apply/apply.go b/cmd/ctrlc/root/apply/apply.go index 7a37c67..191a9b5 100644 --- a/cmd/ctrlc/root/apply/apply.go +++ b/cmd/ctrlc/root/apply/apply.go @@ -56,13 +56,13 @@ type ResourceProvider struct { } type Resource struct { - Identifer string `yaml:"identifer"` - Name string `yaml:"name"` - Version string `yaml:"version"` - Kind string `yaml:"kind"` - Config map[string]any `yaml:"config"` - Metadata map[string]string `yaml:"metadata"` - Variables map[string]any `yaml:"variables"` + Identifier string `yaml:"identifier"` + Name string `yaml:"name"` + Version string `yaml:"version"` + Kind string `yaml:"kind"` + Config map[string]any `yaml:"config"` + Metadata map[string]string `yaml:"metadata"` + Variables map[string]any `yaml:"variables"` } // NewApplyCmd creates a new apply command @@ -121,7 +121,7 @@ func processResourceProvider(ctx context.Context, client *api.ClientWithResponse resources := make([]api.AgentResource, 0) for _, resource := range provider.Resources { resources = append(resources, api.AgentResource{ - Identifier: resource.Identifer, + Identifier: resource.Identifier, Name: resource.Name, Version: resource.Version, Kind: resource.Kind,