summaryrefslogtreecommitdiffstats
path: root/src/k8splugin/mock_files/mock_plugins/mockplugin.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/k8splugin/mock_files/mock_plugins/mockplugin.go')
-rw-r--r--src/k8splugin/mock_files/mock_plugins/mockplugin.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/k8splugin/mock_files/mock_plugins/mockplugin.go b/src/k8splugin/mock_files/mock_plugins/mockplugin.go
index 80a9d594..bdc2130c 100644
--- a/src/k8splugin/mock_files/mock_plugins/mockplugin.go
+++ b/src/k8splugin/mock_files/mock_plugins/mockplugin.go
@@ -23,12 +23,12 @@ func main() {}
// Create object in a specific Kubernetes resource
func Create(data *utils.ResourceData, client kubernetes.Interface) (string, error) {
- return "externalUUID", nil
+ return "resource-name", nil
}
// List of existing resources
func List(namespace string, client kubernetes.Interface) ([]string, error) {
- returnVal := []string{"cloud1-default-uuid1", "cloud1-default-uuid2"}
+ returnVal := []string{"resource-name-1", "resource-name-2"}
return returnVal, nil
}