summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-09-24 17:56:38 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-09-24 17:56:38 (GMT)
commitcb045546348fb04173d84e7c700f8674fbe1797c (patch)
treeaabafdb0b752a256470b06baaacff6dedc34113e
parent25a43dce1a7bef23dfce3d922841f7aa501ea9e7 (diff)
remove errornous marshaller for mood
-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