summaryrefslogtreecommitdiff
path: root/src/rhctl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rhctl')
-rw-r--r--src/rhctl/switch_control.go10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/rhctl/switch_control.go b/src/rhctl/switch_control.go
index 2533394..235fd95 100644
--- a/src/rhctl/switch_control.go
+++ b/src/rhctl/switch_control.go
@@ -57,16 +57,6 @@ func (m Mood) MarshalText() (data []byte, err error) {
return
}
-func (m Mood) MarshalJSON() (data []byte, err error) {
- data = []byte(m.String())
- return
-}
-
-func (m Mood) MarshalTOML() (data []byte, err error) {
- data = []byte(m.String())
- return
-}
-
type State struct {
Mood Mood
Switch SwitchState