From 9c82d7fa6e3cb9ab94bea94051aed8a58aeadf72 Mon Sep 17 00:00:00 2001 From: Zhenguo Niu Date: Fri, 8 Mar 2019 15:18:52 +0800 Subject: [PATCH] Update snatrule --- openstack/networking/v2/extensions/snatrules/results.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openstack/networking/v2/extensions/snatrules/results.go b/openstack/networking/v2/extensions/snatrules/results.go index 3cd8fe121..70ff957a3 100644 --- a/openstack/networking/v2/extensions/snatrules/results.go +++ b/openstack/networking/v2/extensions/snatrules/results.go @@ -15,7 +15,7 @@ type SnatRule struct { Status string `json:"status"` AdminStateUp bool `json:"admin_state_up"` Cidr string `json:"cidr"` - SourceType int `json:"source_type"` + SourceType string `json:"source_type"` } // GetResult is a return struct of get method