diff --git a/pkg/helpers/clean_test_transport.go b/pkg/helpers/clean_test_transport.go index c3bbb97..d146070 100644 --- a/pkg/helpers/clean_test_transport.go +++ b/pkg/helpers/clean_test_transport.go @@ -204,7 +204,7 @@ func addTestProperties(body string) (string, error) { } properties["user"] = user.Name cluster["properties"] = properties - if cluster["expiration_timestamp"] == "" { + if cluster["expiration_timestamp"] == nil { cluster["expiration_timestamp"] = time.Now().Add(time.Hour).Format(time.RFC3339) } result, err := json.Marshal(cluster)