Skip to content
This repository has been archived by the owner on Mar 27, 2022. It is now read-only.

Commit

Permalink
change the field name from "color" to "label_color"
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke committed Jan 1, 2021
1 parent 9854713 commit 49ea5c3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions config/config.go
Expand Up @@ -91,26 +91,26 @@ type Plan struct {
// WhenAddOrUpdateOnly is a configuration to notify the plan result contains new or updated in place resources
type WhenAddOrUpdateOnly struct {
Label string `yaml:"label,omitempty"`
Color string `yaml:"color,omitempty"`
Color string `yaml:"label_color,omitempty"`
}

// WhenDestroy is a configuration to notify the plan result contains destroy operation
type WhenDestroy struct {
Label string `yaml:"label,omitempty"`
Template string `yaml:"template,omitempty"`
Color string `yaml:"color,omitempty"`
Color string `yaml:"label_color,omitempty"`
}

// WhenNoChange is a configuration to add a label when the plan result contains no change
type WhenNoChanges struct {
Label string `yaml:"label,omitempty"`
Color string `yaml:"color,omitempty"`
Color string `yaml:"label_color,omitempty"`
}

// WhenPlanError is a configuration to notify the plan result returns an error
type WhenPlanError struct {
Label string `yaml:"label,omitempty"`
Color string `yaml:"color,omitempty"`
Color string `yaml:"label_color,omitempty"`
}

// Apply is a terraform apply config
Expand Down

0 comments on commit 49ea5c3

Please sign in to comment.