@@ -11,7 +11,7 @@ import (
1111)
1212
1313// ResourcesCreate create a resource for the application
14- func (d * DryccCmd ) ResourcesCreate (appID , name string , plan string , params []string ) error {
14+ func (d * DryccCmd ) ResourcesCreate (appID , plan string , name string , params []string ) error {
1515 s , appID , err := load (d .ConfigFile , appID )
1616
1717 if err != nil {
@@ -109,7 +109,7 @@ func (d *DryccCmd) ResourceDelete(appID, name string) error {
109109}
110110
111111// ResourcePut update a resource for the application
112- func (d * DryccCmd ) ResourcePut (appID , name string , plan string , params []string ) error {
112+ func (d * DryccCmd ) ResourcePut (appID , plan string , name string , params []string ) error {
113113 s , appID , err := load (d .ConfigFile , appID )
114114
115115 if err != nil {
@@ -193,7 +193,7 @@ func printResources(d *DryccCmd, appID string, resources api.Resources, wOut io.
193193 fmt .Fprintf (wOut , "=== %s resources\n " , appID )
194194
195195 for _ , resource := range resources {
196- fmt .Fprintf (wOut , "--- %s\t %s\n " , resource .Name , resource .Plan )
196+ fmt .Fprintf (wOut , "%s\t %s\n " , resource .Name , resource .Plan )
197197 }
198198}
199199
0 commit comments