Commit fe02c124 authored by Satnam Singh's avatar Satnam Singh

Fix breakage of serve_hostnames soak test

parent 86d30724
......@@ -23,7 +23,6 @@ a serivce
package main
import (
"encoding/json"
"flag"
"fmt"
"math/rand"
......@@ -248,7 +247,7 @@ func main() {
continue
}
var r api.Status
if err := json.Unmarshal(hostname, &r); err != nil {
if err := api.Scheme.DecodeInto(hostname, &r); err != nil {
break
}
if r.Status == api.StatusFailure {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment